From 8e38761ad5ab1ca26731260e9189edfe0539ec5c Mon Sep 17 00:00:00 2001 From: Jimmy Cuadra Date: Sun, 2 Jun 2019 13:12:34 -0700 Subject: [PATCH] Add clippy to CI. --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 15f4a38a..4f536691 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,10 @@ language: "rust" before_script: - "rustup component add rustfmt" + - "rustup component add clippy" script: - "cargo fmt --all -- --check" + - "cargo clippy -- -D warnings" - "cargo build --verbose" - "cargo test --verbose" notifications: