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