diff --git a/.travis.yml b/.travis.yml index 0357e1c110..8518c5d450 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,4 @@ language: rust -cache: cargo script: - cargo fmt --all -- --check - cargo build --verbose --all @@ -13,5 +12,4 @@ matrix: - rust: nightly fast_finish: true install: - - (cargo install rustfmt || true) - - PATH=$PATH:/home/travis/.cargo/bin + - rustup component add rustfmt