platform:
- x64
environment:
RUST_INSTALL_DIR: C:\Rust
matrix:
- RUST_INSTALL_TRIPLE: i686-pc-windows-gnu
- RUST_INSTALL_TRIPLE: x86_64-pc-windows-gnu
install:
- ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-1.0.0-beta-$Env:RUST_INSTALL_TRIPLE.exe"
- cmd: rust-1.0.0-beta-%RUST_INSTALL_TRIPLE%.exe /VERYSILENT /NORESTART /COMPONENTS="rust,gcc,cargo" /DIR="%RUST_INSTALL_DIR%"
- cmd: SET PATH=%PATH%;%RUST_INSTALL_DIR%\bin;
- rustc -V
- cargo -V
- cinst 7zip.commandline -x86
- ps: if($env:RUST_INSTALL_TRIPLE -eq 'x86_64-pc-windows-gnu') {
Start-FileDownload "http://libgd.blob.core.windows.net/mingw/mingw-w64-dgn-x86_64-20141001.7z";
7z x -oC:\ mingw-w64-dgn-x86_64-20141001.7z;
}
build: false
test_script:
- cargo test --verbose
- cargo test --verbose