diff options
-rw-r--r-- | .travis.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 77f5fdf..343cc63 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,9 @@ rust: cache: cargo before_script: -- rustup component add rustfmt-preview +- if [[ "${TRAVIS_RUST_VERSION}" == stable ]]; then + rustup component add rustfmt; + fi script: - cargo test --all |