2016-08-08 14:58:16 +08:00
|
|
|
environment:
|
2016-08-08 14:59:37 +08:00
|
|
|
matrix:
|
|
|
|
- TARGET: i686-pc-windows-msvc
|
|
|
|
- TARGET: x86_64-pc-windows-msvc
|
2016-08-08 14:58:16 +08:00
|
|
|
|
|
|
|
install:
|
|
|
|
- ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-nightly-${env:TARGET}.exe"
|
2016-08-08 15:05:24 +08:00
|
|
|
- rust-nightly-%TARGET%.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust"
|
2016-08-08 14:58:16 +08:00
|
|
|
- SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin
|
|
|
|
- rustc -Vv
|
|
|
|
- cargo -V
|
|
|
|
|
|
|
|
build: false
|
|
|
|
|
|
|
|
test_script:
|
|
|
|
- cargo build
|
|
|
|
- cargo build --release
|
|
|
|
- cargo test
|
|
|
|
- cargo test --release
|
|
|
|
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|