mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
promote rustfmt to stable
This commit is contained in:
parent
4f3a594229
commit
6f9c829e36
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ before_script:
|
||||||
- echo '[target.armv7-unknown-linux-gnueabihf]' > ~/.cargo/config
|
- echo '[target.armv7-unknown-linux-gnueabihf]' > ~/.cargo/config
|
||||||
- echo 'linker = "arm-linux-gnueabihf-gcc"' >> ~/.cargo/config
|
- echo 'linker = "arm-linux-gnueabihf-gcc"' >> ~/.cargo/config
|
||||||
- rustup target add armv7-unknown-linux-gnueabihf
|
- rustup target add armv7-unknown-linux-gnueabihf
|
||||||
- if [[ $TRAVIS_RUST_VERSION == *"nightly"* ]]; then
|
- if [[ $TRAVIS_RUST_VERSION == *"stable"* ]]; then
|
||||||
rustup component add rustfmt-preview;
|
rustup component add rustfmt-preview;
|
||||||
cargo fmt --package=librespot-core -- --write-mode=diff;
|
cargo fmt --package=librespot-core -- --write-mode=diff;
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue