diff --git a/.travis.yml b/.travis.yml index fa39dd4be..7abe1025a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,7 @@ sudo: false cache: cargo: true directories: - - clippy_lints/target + - clippy_tests/target env: global: @@ -31,7 +31,7 @@ script: - cargo build --features debugging - cargo test --features debugging - mkdir -p ~/rust/cargo/bin - - cp target/debug/cargo-clippy ~/rust/cargo/bin/cargo-clippy + - cp clippy_tests/target/debug/cargo-clippy ~/rust/cargo/bin/cargo-clippy - PATH=$PATH:~/rust/cargo/bin cargo clippy -- -D clippy - cd clippy_lints && PATH=$PATH:~/rust/cargo/bin cargo clippy -- -D clippy && cd .. - set +e diff --git a/appveyor.yml b/appveyor.yml index c17b12a33..6f9ead88b 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -26,7 +26,7 @@ test_script: - set RUST_BACKTRACE=1 - cargo build --features debugging - cargo test --features debugging - - copy target\debug\cargo-clippy.exe C:\Users\appveyor\.cargo\bin\ + - copy clippy_tests\target\debug\cargo-clippy.exe C:\Users\appveyor\.cargo\bin\ - cargo clippy -- -D clippy - cd clippy_lints && cargo clippy -- -D clippy && cd ..