From 2775ea1e2bc8e0c04be85a1fedb6c304076f863a Mon Sep 17 00:00:00 2001 From: Guillaume Pinot Date: Tue, 15 Sep 2020 14:50:51 +0200 Subject: [PATCH] Add --all-targets in clippy invocation in travis --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index aae2d77..6b33c8b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,7 +24,7 @@ script: - cargo clean - cargo build --verbose --features=use_core - cargo test --verbose --features=use_core - - if ${HAS_CLIPPY}; then cargo clippy --verbose --features=use_core; fi + - if ${HAS_CLIPPY}; then cargo clippy --verbose --all-targets --features=use_core; fi - if [ ${TRAVIS_RUST_VERSION} = "nightly" ]; then cargo update -Z minimal-versions; fi - if [ ${TRAVIS_RUST_VERSION} = "nightly" ]; then cargo build --verbose; fi @@ -32,4 +32,4 @@ script: - if [ ${TRAVIS_RUST_VERSION} = "nightly" ]; then cargo build --features=use_core; fi - if [ ${TRAVIS_RUST_VERSION} = "nightly" ]; then cargo test --verbose --features=use_core; fi - - if [ ${TRAVIS_RUST_VERSION} = "stable" ]; then cargo test compile_test -- --ignored; fi \ No newline at end of file + - if [ ${TRAVIS_RUST_VERSION} = "stable" ]; then cargo test compile_test -- --ignored; fi