mirror of
https://github.com/bspeice/qadapt
synced 2024-11-22 05:48:13 -05:00
Move the rustfmt install
This commit is contained in:
parent
f2be732ec7
commit
2b84ecda9d
@ -40,13 +40,13 @@ before_install:
|
|||||||
|
|
||||||
install:
|
install:
|
||||||
- source ~/.cargo/env || true
|
- source ~/.cargo/env || true
|
||||||
|
- if [ "$TRAVIS_RUST_VERSION" == "nightly" ]; then
|
||||||
script:
|
|
||||||
- if [ "$TRAVIS_RUST_VERSION" = "nightly" ]; then
|
|
||||||
rustup component add rustfmt-preview
|
rustup component add rustfmt-preview
|
||||||
else
|
else
|
||||||
rustup component add rustfmt
|
rustup component add rustfmt
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
script:
|
||||||
- cargo fmt --all -- --check
|
- cargo fmt --all -- --check
|
||||||
- |
|
- |
|
||||||
if [ -z "$TRAVIS_TAG" ]; then
|
if [ -z "$TRAVIS_TAG" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user