From 9d547d21f1ed41ae2193df7f2640964d15637973 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Mockers?= Date: Sat, 11 Aug 2018 00:34:23 +0200 Subject: [PATCH] :green_heart: updating fmt and clippy --- .travis.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index cb0617f3..7c049319 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,13 +20,11 @@ matrix: install: - rustup component add rustfmt-preview script: - - cargo fmt -- --write-mode=diff + - cargo fmt -- --check - rust: nightly env: CLIPPY install: - - cargo install cargo-update || echo "cargo-update already installed" - - cargo install clippy || echo "cargo-clippy already installed" - - cargo install-update -a # update outdated cached binaries + - rustup component add clippy-preview script: - cargo clippy -- -D clippy - rust: stable