]> git.lizzy.rs Git - rust.git/commitdiff
pass the path to the correct command
authorOliver Schneider <git-spam-no-reply9815368754983@oli-obk.de>
Wed, 22 Jun 2016 12:37:08 +0000 (14:37 +0200)
committerOliver Schneider <git-spam-no-reply9815368754983@oli-obk.de>
Wed, 22 Jun 2016 12:37:08 +0000 (14:37 +0200)
.travis.yml

index a1425e15f3f46faedc135878377a91ab41e1f693..b65c8a7c1dd3f038d65f13502c5fe7c34663a543 100644 (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