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:
|
2016-09-27 13:22:10 +08:00
|
|
|
- git submodule update --init
|
2016-08-28 00:37:35 +08:00
|
|
|
- curl -sSf -o rustup-init.exe https://win.rustup.rs
|
|
|
|
- rustup-init.exe --default-host %TARGET% --default-toolchain nightly -y
|
|
|
|
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
|
2016-08-08 14:58:16 +08:00
|
|
|
- rustc -Vv
|
|
|
|
- cargo -V
|
|
|
|
|
|
|
|
build: false
|
|
|
|
|
|
|
|
test_script:
|
2016-10-15 02:58:02 +08:00
|
|
|
- cargo build --target %TARGET%
|
|
|
|
- cargo build --release --target %TARGET%
|
|
|
|
- cargo test --target %TARGET%
|
|
|
|
- cargo test --release --target %TARGET%
|