From f45b2d57111aa9d3bf0649753a2bb55abcca9e1d Mon Sep 17 00:00:00 2001 From: ClementTsang Date: Mon, 10 Feb 2020 00:26:34 -0500 Subject: [PATCH] Update travis to check clippy --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 9d819d97..2c878dd0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,8 +23,11 @@ before_install: elif [[ $TRAVIS_OS_NAME == "osx" ]]; then export TARGET=x86_64-apple-darwin; fi -before_script: rustup target add $TARGET +before_script: + - rustup target add $TARGET + - rustup component add clippy script: + - cargo clippy -- -D warnings - cargo build --verbose --target $TARGET - cargo test --verbose --target $TARGET