pass the path to the correct command

This commit is contained in:
Oliver Schneider 2016-06-22 14:37:08 +02:00
parent 94eb901336
commit ba33fd0a3a
No known key found for this signature in database
GPG key ID: 56D6EEA0FC67AC46

View file

@ -22,7 +22,7 @@ script:
- mkdir -p ~/rust/cargo/bin
- cp target/debug/cargo-clippy ~/rust/cargo/bin/cargo-clippy
- PATH=$PATH:~/rust/cargo/bin cargo clippy -- -D clippy
- PATH=$PATH:~/rust/cargo/bin cd clippy_lints && cargo clippy -- -D clippy && cd ..
- cd clippy_lints && PATH=$PATH:~/rust/cargo/bin cargo clippy -- -D clippy && cd ..
after_success:
# only test regex_macros if it compiles