os: Visual Studio 2015 branches: only: - staging - trying - master - dev matrix: fast_finish: true environment: matrix: # Stable - channel: 1.38.0 target: i686-pc-windows-msvc - channel: 1.38.0 target: i686-pc-windows-gnu - channel: 1.38.0 target: x86_64-pc-windows-msvc - channel: 1.38.0 target: x86_64-pc-windows-gnu install: - appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe - rustup-init -y --profile=minimal --default-toolchain %channel% --default-host %target% - set PATH=%PATH%;%USERPROFILE%\.cargo\bin - rustc -vV - cargo -vV # On advice of retep we skip the "build" script phase build: false test_script: # No features - cargo test # one feature at a time - cargo test --features="consoleapi" - cargo test --features="errhandlingapi" - cargo test --features="handleapi" - cargo test --features="libloaderapi" - cargo test --features="minwinbase" - cargo test --features="minwindef" - cargo test --features="processenv" - cargo test --features="processthreadsapi" - cargo test --features="profileapi" - cargo test --features="winbase" - cargo test --features="wincon" - cargo test --features="wincontypes" - cargo test --features="windef" - cargo test --features="winerror" - cargo test --features="wingdi" - cargo test --features="winnt" - cargo test --features="winuser" # all features just to double check that it works together - cargo test --all-features