environment: matrix: - TARGET: 1.8.0-x86_64-pc-windows-msvc - TARGET: 1.8.0-x86_64-pc-windows-gnu - TARGET: nightly-x86_64-pc-windows-msvc install: - if "TARGET" == "1.8.0-x86_64-pc-windows-gnu" choco install -y mingw > NUL - ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-${env:TARGET}.exe" -FileName "rust-install.exe" - ps: .\rust-install.exe /VERYSILENT /NORESTART /DIR="C:\rust" | Out-Null - ps: $env:PATH="$env:PATH;C:\rust\bin;C:\tools\mingw64\bin" - rustc -vV - cargo -vV - if "TARGET" == "1.8.0-x86_64-pc-windows-gnu" gcc -v build_script: - cargo build test_script: - cd tests && test.cmd