configure rust msvc toolchain on windows on travis

This commit is contained in:
Korijn van Golen 2019-12-30 19:40:03 +01:00 committed by Dzmitry Malyshau
parent 6716556992
commit 9f017f4e29

View File

@ -54,6 +54,8 @@ branches:
before_install:
- if [[ $TRAVIS_OS_NAME == "windows" ]]; then choco install make; fi
- if [[ $TRAVIS_RUST_VERSION != "nightly" ]] && [[ $TRAVIS_OS_NAME == "windows" ]]; then rustup default stable-msvc; fi
- if [[ $TRAVIS_RUST_VERSION == "nightly" ]] && [[ $TRAVIS_OS_NAME == "windows" ]]; then rustup default nightly-msvc; fi
script:
- cargo test