New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Travis: Add rustc sysroot bin to PATH for windows build #3486

Merged
merged 2 commits into from Dec 2, 2018
Jump to file or symbol
Failed to load files and symbols.
+5 −2
Diff settings

Always

Just for now

Copy path View file
@@ -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
Copy path View file
@@ -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
ProTip! Use n and p to navigate between commits in a pull request.