diff --git a/.travis.yml b/.travis.yml index 8004a1b3..53d5324e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -34,7 +34,10 @@ before_script: - rustup target add $TARGET - rustup component add clippy script: - - cargo clippy -- -D clippy::all + - | + if [[ $TRAVIS_RUST_VERSION != "1.40.0" ]]; then + cargo clippy -- -D clippy::all + fi - cargo build --verbose --target $TARGET - | if [[ $TRAVIS_RUST_VERSION != "1.40.0" ]]; then