From dbfe5467f18f66ee1c9babf3f8bffe44b79a2730 Mon Sep 17 00:00:00 2001 From: ClementTsang Date: Mon, 17 Feb 2020 20:41:38 -0500 Subject: [PATCH] Add nightly clippy fix. --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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