blob: 79964801877625b9a4db3c437d338c9efc363b51 [file] [log] [blame]
branches:
except:
- gh-pages
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.22.0
- RUST_INSTALL_TRIPLE: i686-pc-windows-msvc
VCVARS: "C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\bin\\vcvars32.bat"
RUST_VERSION: beta
- RUST_INSTALL_TRIPLE: i686-pc-windows-msvc
VCVARS: "C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\bin\\vcvars32.bat"
RUST_VERSION: nightly
- 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.22.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: beta
- 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: nightly
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:
- cargo build --verbose
- cargo test --verbose