Run as a script block

pull/2/head
Bradlee Speice 2018-12-08 19:27:03 -05:00
parent 2b84ecda9d
commit b31491dfbc
1 changed files with 2 additions and 1 deletions

View File

@ -40,7 +40,8 @@ before_install:
install:
- source ~/.cargo/env || true
- if [ "$TRAVIS_RUST_VERSION" == "nightly" ]; then
- |
if [ "$TRAVIS_RUST_VERSION" == "nightly" ]; then
rustup component add rustfmt-preview
else
rustup component add rustfmt