Remove rust fmt from Travis

From #208 rust fmt has been removed as it is still somewhat unstable.
This commit is contained in:
Sasha Hilton 2018-04-25 20:15:32 +02:00 committed by GitHub
parent ffb7714cb4
commit d76d9725e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,10 +20,6 @@ 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
rustup component add rustfmt-preview;
cargo fmt --all -- --write-mode=diff;
fi
script:
- cargo build --locked --no-default-features