From 971e3a947ccc49ed4b01585d737416fd202787ba Mon Sep 17 00:00:00 2001 From: "Michael J. Sullivan" Date: Tue, 4 Dec 2018 09:46:05 -0800 Subject: [PATCH] Trigger mypy_mypyc builds on pushes to release branches (#5997) --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0edf400398a0..03a73618b6cf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,5 @@ -if: tag IS present OR type = pull_request OR (branch = master AND type = push) # we only CI the master, tags and PRs +# we only CI the master, release branches, tags and PRs +if: tag IS present OR type = pull_request OR ((branch = master OR branch =~ release-*) AND type = push) language: python # cache package wheels (1 cache per python version) @@ -38,7 +39,7 @@ jobs: - EXTRA_ARGS= - name: "trigger a build of wheels" python: 3.7 - script: if [[ $TRAVIS_BRANCH = "master" && $TRAVIS_PULL_REQUEST = "false" ]]; then ./misc/trigger_wheel_build.sh; fi + script: if [[ ($TRAVIS_BRANCH = "master" || $TRAVIS_BRANCH =~ release-*) && $TRAVIS_PULL_REQUEST = "false" ]]; then ./misc/trigger_wheel_build.sh; fi install: - pip install -U pip setuptools