Skip to content

Commit eaecc06

Browse files
committed
[appveyor.yml] eliminate duplicate Travis builds on PR that originate from in repo branches
1 parent d45cceb commit eaecc06

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

appveyor.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,16 @@ install:
2424

2525
build: false
2626

27+
# The following prevents Travis from running CI on pull requests that come from a
28+
# branch in the same repository. Without this, it will run the same CI for the
29+
# pull request branch _and_ the pull request itself, which makes no sense.
30+
branches:
31+
only:
32+
- master
33+
# We want to build wip/* branches since these are not usually used for PRs
34+
- /^wip\/.*$/
35+
# We want to build version tags as well.
36+
- /^v\d+\.\d+.*$/
37+
2738
test_script:
2839
- "tox -e %TOX_PY%"

0 commit comments

Comments
 (0)