platform:
- x64
environment:
RUST_INSTALL_DIR: C:\Rust
matrix:
- RUST_INSTALL_TRIPLE: i686-pc-windows-msvc
VCVARS: "C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\bin\\vcvars32.bat"
RUST_VERSION: 1.36.0
- RUST_INSTALL_TRIPLE: x86_64-pc-windows-msvc
VCVARS: "C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\bin\\amd64\\vcvars64.bat"
RUST_VERSION: 1.36.0
install:
- ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-${env:RUST_VERSION}-${env:RUST_INSTALL_TRIPLE}.exe"
- cmd: rust-%RUST_VERSION%-%RUST_INSTALL_TRIPLE%.exe /VERYSILENT /NORESTART /DIR="%RUST_INSTALL_DIR%"
- cmd: CALL "%VCVARS%"
- cmd: SET PATH=%PATH%;%RUST_INSTALL_DIR%\bin
- rustc --version
- cargo --version
build: false
test_script:
- cmd: SET RUST_BACKTRACE=full
- cargo test