Travis fails to catch if statement... try to fix

This commit is contained in:
Clement Tsang 2019-12-30 22:09:35 -05:00
parent 1a2281cd81
commit c66650bc06

View file

@ -14,12 +14,13 @@ jobs:
before_install:
- export RUST_BACKTRACE=1
- if [[ $TRAVIS_OS_NAME == "linux" ]]; then
export TARGET=x86_64-unknown-linux-gnu;
- |
if [[ $TRAVIS_OS_NAME == "linux" ]]; then
export TARGET=x86_64-unknown-linux-gnu;
elif [[ $TRAVIS_OS_NAME == "windows" ]]; then
export TARGET=x86_64-pc-windows-msvc;
export TARGET=x86_64-pc-windows-msvc;
elif [[ $TRAVIS_OS_NAME == "osx" ]] then
export TARGET=x86_64-apple-darwin;
export TARGET=x86_64-apple-darwin;
fi
before_script: rustup target add $TARGET
script: