From f465af964ace37fcee0e23b807a334d5fc8868c0 Mon Sep 17 00:00:00 2001 From: Lucien Greathouse Date: Tue, 27 Aug 2019 15:27:25 -0700 Subject: [PATCH] Make Travis test rustfmt and clippy --- .travis.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 211045be..35cf2188 100644 --- a/.travis.yml +++ b/.travis.yml @@ -34,11 +34,15 @@ matrix: cache: cargo script: - - cargo test --verbose + - cargo test --locked --verbose - language: rust rust: stable cache: cargo script: - - cargo test --verbose \ No newline at end of file + - rustup component add rustfmt + - rustup component add clippy + - cargo test --locked --verbose + - cargo fmt -- --check + - cargo clippy \ No newline at end of file