environment: | |
matrix: | |
- TARGET: x86_64-pc-windows-msvc | |
VERSION: nightly | |
- TARGET: i686-pc-windows-msvc | |
VERSION: nightly | |
- TARGET: x86_64-pc-windows-gnu | |
VERSION: nightly | |
- TARGET: i686-pc-windows-gnu | |
VERSION: 1.46.0 | |
access_token: | |
secure: ZxcrtxQXwszRYNN6c1ZIagczEqzmQQZeYHY58izcmF0jdq/cptxJvFUoVxDmnoqj | |
install: | |
- ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-${env:VERSION}-${env:TARGET}.msi" -FileName "rust-install.msi" | |
- ps: msiexec /i "rust-install.msi" /qn /norestart INSTALLDIR="C:\rust" | Out-Null | |
- ps: $env:PATH="$env:PATH;C:\rust\bin" | |
- rustc -vV | |
- cargo -vV | |
- echo install | |
build: off | |
test_script: | |
# TODO remove this loop when server 2016 lands on appveyor; related to https://github.com/steffengy/schannel-rs/issues/8 | |
- set RUST_BACKTRACE=1 | |
- ps: for($i=1; $i -le 3; $i++) { cmd /c "cargo test 2>&1"; if ($?) { break } } |