File tree Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -39,5 +39,16 @@ matrix:
3939 env : TOX_ENV=py37
4040 script : tox -e $TOX_ENV
4141
42+ # The following prevents Travis from running CI on pull requests that come from a
43+ # branch in the same repository. Without this, it will run the same CI for the
44+ # pull request branch _and_ the pull request itself, which makes no sense.
45+ branches :
46+ only :
47+ - master
48+ # We want to build wip/* branches since these are not usually used for PRs
49+ - /^wip\/.*$/
50+ # We want to build version tags as well.
51+ - /^v\d+\.\d+.*$/
52+
4253notifications :
4354 email : false
Original file line number Diff line number Diff line change @@ -24,5 +24,16 @@ install:
2424
2525build : 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+
2738test_script :
2839 - " tox -e %TOX_PY%"
You can’t perform that action at this time.
0 commit comments