1
0
mirror of https://github.com/bspeice/qadapt synced 2024-11-22 05:48:13 -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: install:
- source ~/.cargo/env || true - source ~/.cargo/env || true
- | - |
echo "TRAVIS_RUST_VERSION:$TRAVIS_RUST_VERSION" echo "TRAVIS_RUST_VERSION=\"$TRAVIS_RUST_VERSION\""
if [ "$TRAVIS_RUST_VERSION" == "nightly" ]; then if [ "$TRAVIS_RUST_VERSION" == "nightly" ]; then
echo "Installing preview"
rustup component add rustfmt-preview rustup component add rustfmt-preview
else else
echo "Installing standard"
rustup component add rustfmt rustup component add rustfmt
fi fi