Adjust travis and appveyor paths
This commit is contained in:
parent
fdbc62dd4f
commit
4c185910c9
@ -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
|
||||
|
@ -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 ..
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user