From 354aaec2e010205fbdaeb3472743c10ab4f4da03 Mon Sep 17 00:00:00 2001 From: Hugo Osvaldo Barrera Date: Tue, 9 Jun 2020 10:46:17 +0200 Subject: [PATCH] Only run CI for branch `master` For PRs, CI will run on the PR itself, so no need to run it for the branch (otherwise we get duplicate jobs, and it's sooooo slow!). --- .travis.yml | 5 +---- scripts/make_travisconf.py | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 70479a9..f538aeb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,7 @@ { "branches": { "only": [ - "auto", - "next", - "master", - "/^.*-maintenance$/" + "master" ] }, "cache": "pip", diff --git a/scripts/make_travisconf.py b/scripts/make_travisconf.py index 56025ad..65b2876 100644 --- a/scripts/make_travisconf.py +++ b/scripts/make_travisconf.py @@ -19,7 +19,7 @@ cfg['git'] = { } cfg['branches'] = { - 'only': ['auto', 'next', 'master', '/^.*-maintenance$/'] + 'only': ['master'] } cfg['install'] = """