diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2019-12-30 22:09:35 -0500 |
---|---|---|
committer | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2019-12-30 22:09:35 -0500 |
commit | c66650bc06318256bf130081b1e4b039b736477a (patch) | |
tree | 51a45d45bbef9a53e4c9f1821a0c498a21a89bcc | |
parent | 1a2281cd811d7931582a5f32bd18bdf1d45ab3ca (diff) |
Travis fails to catch if statement... try to fix
-rw-r--r-- | .travis.yml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index 751cd51d..37d5dab9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: |