From 4c185910c9f3d364605d8d5e8ac16b7c5a027cca Mon Sep 17 00:00:00 2001 From: Oliver Schneider Date: Wed, 17 May 2017 15:50:38 +0200 Subject: [PATCH] Adjust travis and appveyor paths --- .travis.yml | 4 ++-- appveyor.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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 ..