os: Visual Studio 2015
branches:
only:
- staging
- trying
- master
- dev
matrix:
fast_finish: true
environment:
matrix:
- channel: 1.36.0
target: i686-pc-windows-msvc
- channel: 1.36.0
target: i686-pc-windows-gnu
- channel: 1.36.0
target: x86_64-pc-windows-msvc
- channel: 1.36.0
target: x86_64-pc-windows-gnu
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
build: false
test_script:
- cargo fmt -- --check
- cargo clippy
- cargo build --no-default-features
- cargo test --no-default-features
- cargo build
- cargo test