From 94eb9013367f01aa2c4441d563e754d3bc7e355c Mon Sep 17 00:00:00 2001 From: Oliver Schneider Date: Wed, 22 Jun 2016 10:37:08 +0200 Subject: [PATCH] add cargo/bin to PATH --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0d5a6bc9fce6..a1425e15f3f4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,8 +21,8 @@ script: - cargo test --features debugging - mkdir -p ~/rust/cargo/bin - cp target/debug/cargo-clippy ~/rust/cargo/bin/cargo-clippy - - cargo clippy -- -D clippy - - cd clippy_lints && cargo clippy -- -D clippy && cd .. + - PATH=$PATH:~/rust/cargo/bin cargo clippy -- -D clippy + - PATH=$PATH:~/rust/cargo/bin cd clippy_lints && cargo clippy -- -D clippy && cd .. after_success: # only test regex_macros if it compiles