diff --git a/.travis.yml b/.travis.yml index 99a52a6e..211db3a0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,8 +25,9 @@ before_install: fi before_script: - rustup target add $TARGET - - rustup component add clippy + - rustup component add clippy --toolchain=nightly || cargo install --git https://github.com/rust-lang/rust-clippy/ --force clippy script: + - cargo clippy -- -D clippy::all - cargo build --verbose --target $TARGET - cargo test --verbose --target $TARGET