configure rust msvc toolchain on windows on travis

This commit is contained in:
Korijn van Golen authored and Dzmitry Malyshau committed 2020-01-20 16:31:18 -05:00
1 parent 6716556992
commit 9f017f4e29
1 file changed
+2
+2
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