mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 13:13:34 +00:00
Don't run integration tests in forks
This commit is contained in:
parent
b2601beb35
commit
27a69bd66c
1 changed files with 18 additions and 2 deletions
20
.travis.yml
20
.travis.yml
|
@ -41,6 +41,9 @@ install:
|
|||
fi
|
||||
fi
|
||||
|
||||
# disabling the integration tests in forks should be done with
|
||||
# if: fork = false
|
||||
# but this is currently buggy travis-ci/travis-ci#9118
|
||||
matrix:
|
||||
include:
|
||||
- os: osx # run base tests on both platforms
|
||||
|
@ -48,23 +51,36 @@ matrix:
|
|||
- os: linux
|
||||
env: BASE_TESTS=true
|
||||
- os: windows
|
||||
env: BASE_TEST=true
|
||||
env: BASE_TESTS=true
|
||||
- env: INTEGRATION=rust-lang/cargo
|
||||
if: repo =~ /^rust-lang\/rust-clippy$/
|
||||
- env: INTEGRATION=rust-random/rand
|
||||
if: repo =~ /^rust-lang\/rust-clippy$/
|
||||
- env: INTEGRATION=rust-lang-nursery/stdsimd
|
||||
if: repo =~ /^rust-lang\/rust-clippy$/
|
||||
- env: INTEGRATION=rust-lang/rustfmt
|
||||
if: repo =~ /^rust-lang\/rust-clippy$/
|
||||
- env: INTEGRATION=rust-lang-nursery/futures-rs
|
||||
if: repo =~ /^rust-lang\/rust-clippy$/
|
||||
- env: INTEGRATION=rust-lang-nursery/failure
|
||||
if: repo =~ /^rust-lang\/rust-clippy$/
|
||||
- env: INTEGRATION=rust-lang-nursery/log
|
||||
if: repo =~ /^rust-lang\/rust-clippy$/
|
||||
- env: INTEGRATION=rust-lang-nursery/chalk
|
||||
if: repo =~ /^rust-lang\/rust-clippy$/
|
||||
- env: INTEGRATION=rust-lang/rls
|
||||
if: repo =~ /^rust-lang\/rust-clippy$/
|
||||
- env: INTEGRATION=chronotope/chrono
|
||||
if: repo =~ /^rust-lang\/rust-clippy$/
|
||||
- env: INTEGRATION=serde-rs/serde
|
||||
if: repo =~ /^rust-lang\/rust-clippy$/
|
||||
- env: INTEGRATION=Geal/nom
|
||||
if: repo =~ /^rust-lang\/rust-clippy$/
|
||||
- env: INTEGRATION=hyperium/hyper
|
||||
if: repo =~ /^rust-lang\/rust-clippy$/
|
||||
allow_failures:
|
||||
- os: windows
|
||||
env: BASE_TEST=true
|
||||
env: BASE_TESTS=true
|
||||
# prevent these jobs with default env vars
|
||||
exclude:
|
||||
- os: linux
|
||||
|
|
Loading…
Reference in a new issue