From 297f92a99e97ae9e111a2027627dad73dee3ef91 Mon Sep 17 00:00:00 2001 From: Chris Date: Tue, 30 Oct 2018 09:50:50 +0100 Subject: [PATCH] Use clippy with travis --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index e613f1c..3b2e995 100644 --- a/.travis.yml +++ b/.travis.yml @@ -94,11 +94,11 @@ install: - cargo install cargo-travis || true - rustup override set nightly - rustup target add thumbv7m-none-eabi + - rustup component add clippy-preview script: - cargo check - - cargo build --release - - cargo test + - cargo clippy --all-targets --all-features -- -D warnings - cargo test --all-features --release - cargo doc --all-features --release - cd examples/embedded_linux_epd4in2 && cargo check && cd ../../