Run as a script block
parent
2b84ecda9d
commit
b31491dfbc
|
@ -40,7 +40,8 @@ before_install:
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- source ~/.cargo/env || true
|
- source ~/.cargo/env || true
|
||||||
- if [ "$TRAVIS_RUST_VERSION" == "nightly" ]; then
|
- |
|
||||||
|
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
|
||||||
|
|
Loading…
Reference in New Issue