Skip to content

Commit c060086

Browse files
Merge pull request RustPython#1081 from RustPython/travis-config
Disable code coverage on all branches except the master branch.
2 parents 0a242b6 + 5f3e5e1 commit c060086

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ matrix:
111111
- target
112112
script:
113113
- tests/.travis-runner.sh
114+
# Only do code coverage on master via a cron job.
115+
if: branch = master AND type = cron
114116
env:
115117
- TRAVIS_RUST_VERSION=nightly
116118
- REGULAR_TEST=false

0 commit comments

Comments
 (0)