2019-09-20 01:09:31 +00:00
|
|
|
|
|
|
|
os: Visual Studio 2015
|
|
|
|
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- staging
|
|
|
|
- trying
|
|
|
|
- master
|
|
|
|
- dev
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
|
|
|
|
|
|
|
environment:
|
|
|
|
matrix:
|
|
|
|
# Stable
|
2019-11-26 02:17:41 +00:00
|
|
|
- channel: 1.34.0
|
2019-09-20 01:09:31 +00:00
|
|
|
target: i686-pc-windows-msvc
|
2019-11-26 02:17:41 +00:00
|
|
|
- channel: 1.34.0
|
2019-09-20 01:09:31 +00:00
|
|
|
target: i686-pc-windows-gnu
|
2019-11-26 02:17:41 +00:00
|
|
|
- channel: 1.34.0
|
2019-09-20 01:09:31 +00:00
|
|
|
target: x86_64-pc-windows-msvc
|
2019-11-26 02:17:41 +00:00
|
|
|
- channel: 1.34.0
|
2019-09-20 01:09:31 +00:00
|
|
|
target: x86_64-pc-windows-gnu
|
|
|
|
# Beta and Nightly are checked by TravisCI since builds there run in
|
|
|
|
# parallel.
|
|
|
|
|
|
|
|
install:
|
|
|
|
- appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
|
|
|
|
- rustup-init -y --default-toolchain %channel% --default-host %target%
|
|
|
|
- set PATH=%PATH%;%USERPROFILE%\.cargo\bin
|
|
|
|
- rustup component add rustfmt
|
|
|
|
- rustup component add clippy
|
|
|
|
- rustc -vV
|
|
|
|
- cargo -vV
|
|
|
|
|
|
|
|
# On advice of retep we skip the "build" script phase
|
|
|
|
build: false
|
|
|
|
|
|
|
|
test_script:
|
|
|
|
- cargo fmt -- --check
|
|
|
|
- cargo clippy
|
|
|
|
- cargo test --no-default-features
|
|
|
|
- cargo test
|
2019-11-26 02:15:11 +00:00
|
|
|
#- cargo test --all-features
|