os: Visual Studio 2015
environment:
matrix:
- channel: stable
target: x86_64-pc-windows-msvc
- channel: beta
target: x86_64-pc-windows-msvc
- channel: nightly
target: x86_64-pc-windows-msvc
EXTRA_FEATURES: unstable
- channel: 1.17.0 target: x86_64-pc-windows-msvc
matrix:
allow_failures:
- channel: nightly
install:
- appveyor-retry appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
- rustup-init.exe -y --default-host %target% --default-toolchain %channel%
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
- rustc -V
- cargo -V
build_script:
- cmd: cargo build --verbose --features="all %EXTRA_FEATURES%"
test_script:
- cmd: cargo test --all --verbose --features="all %EXTRA_FEATURES%"
branches:
only:
- master