os: Visual Studio 2015
artifacts:
- path: target\debug\swindon.exe
name: debug-binary
- path: target\debug\swindon-dev.exe
name: debug-binary
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
- channel: stable
target: x86_64-pc-windows-gnu
MSYS_BITS: 64
matrix:
allow_failures:
- channel: nightly
install:
- appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
- rustup-init -yv --default-toolchain %channel% --default-host %target%
- set PATH=%PATH%;%USERPROFILE%\.cargo\bin
- if defined MSYS_BITS set PATH=%PATH%;C:\msys64\mingw%MSYS_BITS%\bin
- rustc -vV
- cargo -vV
build_script:
- cargo build %cargoflags%
test_script:
- cargo test --verbose %cargoflags%