Update travis to run rustfmt against all crates

This commit is contained in:
Sasha Hilton 2018-02-26 02:53:45 +01:00
parent 237ef1e4f9
commit 53387a3889

View file

@ -22,7 +22,7 @@ before_script:
- rustup target add armv7-unknown-linux-gnueabihf - rustup target add armv7-unknown-linux-gnueabihf
- if [[ $TRAVIS_RUST_VERSION == *"nightly"* ]]; then - if [[ $TRAVIS_RUST_VERSION == *"nightly"* ]]; then
rustup component add rustfmt-preview; rustup component add rustfmt-preview;
cargo fmt --package=librespot-core -- --write-mode=diff; cargo fmt --all -- --write-mode=diff;
fi fi
script: script: