diff --git a/.travis.yml b/.travis.yml index 60b9857..2b6b22b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -40,7 +40,8 @@ before_install: install: - source ~/.cargo/env || true - - if [ "$TRAVIS_RUST_VERSION" == "nightly" ]; then + - | + if [ "$TRAVIS_RUST_VERSION" == "nightly" ]; then rustup component add rustfmt-preview else rustup component add rustfmt