mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-10 15:14:29 +00:00
Merge pull request #3486 from phansch/make_windows_travis_run_more_stuff
Travis: Add rustc sysroot bin to PATH for windows build
This commit is contained in:
commit
fd54f448bd
2 changed files with 5 additions and 2 deletions
|
@ -52,7 +52,7 @@ matrix:
|
|||
- os: linux
|
||||
env: BASE_TESTS=true
|
||||
- os: windows
|
||||
env: BASE_TESTS=true
|
||||
env: CARGO_INCREMENTAL=0 BASE_TESTS=true
|
||||
- env: INTEGRATION=rust-lang/cargo
|
||||
if: repo =~ /^rust-lang\/rust-clippy$/
|
||||
- env: INTEGRATION=rust-random/rand
|
||||
|
@ -81,7 +81,7 @@ matrix:
|
|||
if: repo =~ /^rust-lang\/rust-clippy$/
|
||||
allow_failures:
|
||||
- os: windows
|
||||
env: BASE_TESTS=true
|
||||
env: CARGO_INCREMENTAL=0 BASE_TESTS=true
|
||||
# prevent these jobs with default env vars
|
||||
exclude:
|
||||
- os: linux
|
||||
|
|
|
@ -28,6 +28,9 @@ cd clippy_dev && cargo test && cd ..
|
|||
./util/dev update_lints --check
|
||||
cargo +nightly fmt --all -- --check
|
||||
|
||||
# Add bin to PATH for windows
|
||||
PATH=$PATH:$(rustc --print sysroot)/bin
|
||||
|
||||
CLIPPY="`pwd`/target/debug/cargo-clippy clippy"
|
||||
# run clippy on its own codebase...
|
||||
${CLIPPY} --all-targets --all-features -- -D clippy::all -D clippy::internal -Dclippy::pedantic
|
||||
|
|
Loading…
Reference in a new issue