Skip to content

Commit 971e3a9

Browse files
msullivanJukkaL
authored andcommitted
Trigger mypy_mypyc builds on pushes to release branches (#5997)
1 parent 8d354c9 commit 971e3a9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
if: tag IS present OR type = pull_request OR (branch = master AND type = push) # we only CI the master, tags and PRs
1+
# we only CI the master, release branches, tags and PRs
2+
if: tag IS present OR type = pull_request OR ((branch = master OR branch =~ release-*) AND type = push)
23

34
language: python
45
# cache package wheels (1 cache per python version)
@@ -38,7 +39,7 @@ jobs:
3839
- EXTRA_ARGS=
3940
- name: "trigger a build of wheels"
4041
python: 3.7
41-
script: if [[ $TRAVIS_BRANCH = "master" && $TRAVIS_PULL_REQUEST = "false" ]]; then ./misc/trigger_wheel_build.sh; fi
42+
script: if [[ ($TRAVIS_BRANCH = "master" || $TRAVIS_BRANCH =~ release-*) && $TRAVIS_PULL_REQUEST = "false" ]]; then ./misc/trigger_wheel_build.sh; fi
4243

4344
install:
4445
- pip install -U pip setuptools

0 commit comments

Comments
 (0)