1
0
mirror of https://github.com/bspeice/qadapt synced 2024-11-21 21:38:10 -05:00

Seriously?

This commit is contained in:
Bradlee Speice 2018-12-08 19:39:32 -05:00
parent c14a26baaf
commit 68e9f97b2b

View File

@ -41,10 +41,12 @@ before_install:
install:
- source ~/.cargo/env || true
- |
echo "TRAVIS_RUST_VERSION:$TRAVIS_RUST_VERSION"
echo "TRAVIS_RUST_VERSION=\"$TRAVIS_RUST_VERSION\""
if [ "$TRAVIS_RUST_VERSION" == "nightly" ]; then
echo "Installing preview"
rustup component add rustfmt-preview
else
echo "Installing standard"
rustup component add rustfmt
fi