diff --git a/.gitignore b/.gitignore index 2891bcf24ee..d25c1a08ee4 100644 --- a/.gitignore +++ b/.gitignore @@ -15,7 +15,6 @@ out # Generated by Cargo /target/ /clippy_lints/target/ -/clippy_tests/target/ # We don't pin yet Cargo.lock diff --git a/.travis.yml b/.travis.yml index a93790fd03d..97c702f63df 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,7 @@ sudo: false cache: cargo: true directories: - - clippy_tests/target + - target env: global: @@ -32,7 +32,7 @@ script: - cargo build --features debugging - cargo test --features debugging - mkdir -p ~/rust/cargo/bin - - cp clippy_tests/target/debug/cargo-clippy ~/rust/cargo/bin/cargo-clippy + - cp 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 .. - cd clippy_workspace_tests && PATH=$PATH:~/rust/cargo/bin cargo clippy -- -D clippy && cd .. diff --git a/appveyor.yml b/appveyor.yml index 6f9ead88b2a..c17b12a33b3 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 clippy_tests\target\debug\cargo-clippy.exe C:\Users\appveyor\.cargo\bin\ + - copy target\debug\cargo-clippy.exe C:\Users\appveyor\.cargo\bin\ - cargo clippy -- -D clippy - cd clippy_lints && cargo clippy -- -D clippy && cd ..