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