2019-01-16 22:27:09 +00:00
|
|
|
branches:
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
|
|
|
|
version: "{build} ~ {branch}"
|
|
|
|
|
|
|
|
os: Visual Studio 2017
|
|
|
|
|
|
|
|
environment:
|
|
|
|
matrix:
|
|
|
|
- CHANNEL: stable
|
|
|
|
ARCH: x86_64
|
2019-02-08 21:51:29 +00:00
|
|
|
ABI: msvc
|
|
|
|
TARGET: x86_64-pc-windows-msvc
|
2019-01-16 22:27:09 +00:00
|
|
|
|
|
|
|
install:
|
2019-02-08 21:51:29 +00:00
|
|
|
- appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
|
|
|
|
- rustup-init.exe -yv --default-host %target%
|
|
|
|
- set PATH=%PATH%;%USERPROFILE%\.cargo\bin
|
2019-01-16 22:27:09 +00:00
|
|
|
- rustc -vV
|
|
|
|
- cargo -vV
|
|
|
|
|
|
|
|
artifacts:
|
2019-02-08 21:51:29 +00:00
|
|
|
- path: target\debug\wasmer.exe
|
2019-01-16 22:27:09 +00:00
|
|
|
name: wasmer.exe
|
|
|
|
|
|
|
|
build_script:
|
2019-02-08 21:51:29 +00:00
|
|
|
- cargo build --verbose
|
2019-01-16 22:27:09 +00:00
|
|
|
|
|
|
|
test_script:
|
2019-02-08 21:51:29 +00:00
|
|
|
- set RUST_BACKTRACE=1
|
|
|
|
- cargo test --verbose
|