about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml4
-rwxr-xr-xci/base-tests.sh3
2 files changed, 5 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index a2db0033e2f..b3331c8a26d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -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
diff --git a/ci/base-tests.sh b/ci/base-tests.sh
index e46f8c4c39a..a046d21c4be 100755
--- a/ci/base-tests.sh
+++ b/ci/base-tests.sh
@@ -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