diff --git a/.travis.yml b/.travis.yml index 474ff039..44b7d0af 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,7 +20,7 @@ before_script: - echo '[target.armv7-unknown-linux-gnueabihf]' > ~/.cargo/config - echo 'linker = "arm-linux-gnueabihf-gcc"' >> ~/.cargo/config - rustup target add armv7-unknown-linux-gnueabihf - - if [[ $TRAVIS_RUST_VERSION == *"nightly"* ]]; then + - if [[ $TRAVIS_RUST_VERSION == *"stable"* ]]; then rustup component add rustfmt-preview; cargo fmt --package=librespot-core -- --write-mode=diff; fi