Skip to content

Commit ab5b75a

Browse files
authored
Merge pull request #3464 from flip1995/no_fork_integration
Don't run integration tests in forks
2 parents b2601be + 27a69bd commit ab5b75a

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

.travis.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,30 +41,46 @@ install:
4141
fi
4242
fi
4343
44+
# disabling the integration tests in forks should be done with
45+
# if: fork = false
46+
# but this is currently buggy travis-ci/travis-ci#9118
4447
matrix:
4548
include:
4649
- os: osx # run base tests on both platforms
4750
env: BASE_TESTS=true
4851
- os: linux
4952
env: BASE_TESTS=true
5053
- os: windows
51-
env: BASE_TEST=true
54+
env: BASE_TESTS=true
5255
- env: INTEGRATION=rust-lang/cargo
56+
if: repo =~ /^rust-lang\/rust-clippy$/
5357
- env: INTEGRATION=rust-random/rand
58+
if: repo =~ /^rust-lang\/rust-clippy$/
5459
- env: INTEGRATION=rust-lang-nursery/stdsimd
60+
if: repo =~ /^rust-lang\/rust-clippy$/
5561
- env: INTEGRATION=rust-lang/rustfmt
62+
if: repo =~ /^rust-lang\/rust-clippy$/
5663
- env: INTEGRATION=rust-lang-nursery/futures-rs
64+
if: repo =~ /^rust-lang\/rust-clippy$/
5765
- env: INTEGRATION=rust-lang-nursery/failure
66+
if: repo =~ /^rust-lang\/rust-clippy$/
5867
- env: INTEGRATION=rust-lang-nursery/log
68+
if: repo =~ /^rust-lang\/rust-clippy$/
5969
- env: INTEGRATION=rust-lang-nursery/chalk
70+
if: repo =~ /^rust-lang\/rust-clippy$/
6071
- env: INTEGRATION=rust-lang/rls
72+
if: repo =~ /^rust-lang\/rust-clippy$/
6173
- env: INTEGRATION=chronotope/chrono
74+
if: repo =~ /^rust-lang\/rust-clippy$/
6275
- env: INTEGRATION=serde-rs/serde
76+
if: repo =~ /^rust-lang\/rust-clippy$/
6377
- env: INTEGRATION=Geal/nom
78+
if: repo =~ /^rust-lang\/rust-clippy$/
6479
- env: INTEGRATION=hyperium/hyper
80+
if: repo =~ /^rust-lang\/rust-clippy$/
6581
allow_failures:
6682
- os: windows
67-
env: BASE_TEST=true
83+
env: BASE_TESTS=true
6884
# prevent these jobs with default env vars
6985
exclude:
7086
- os: linux

0 commit comments

Comments
 (0)