Skip to content

Commit

Permalink
Trigger mypy_mypyc builds on pushes to release branches (#5997)
Browse files Browse the repository at this point in the history
  • Loading branch information
msullivan authored and JukkaL committed Dec 4, 2018
1 parent 8d354c9 commit 971e3a9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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)
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 971e3a9

Please sign in to comment.