blob: 28293817f3ea6e06b502ce3fff273da12d0b952c [file] [log] [blame]
image: Visual Studio 2017
environment:
matrix:
- host: x86_64-pc-windows-msvc
targets: aarch64-pc-windows-msvc
channel: nightly
- host: i686-pc-windows-msvc
channel: nightly
- host: x86_64-pc-windows-gnu
channel: nightly
- host: i686-pc-windows-gnu
channel: nightly
- host: x86_64-pc-windows-gnu
channel: 1.6.0
install:
- ps: if (ls -r . -fi "*.rs" | sls "`t") { throw "Found tab character" }
- appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
- rustup-init.exe -y --default-toolchain %channel% --default-host %host%
- ps: $env:CARGO_INCREMENTAL = 0
- ps: $env:PATH = "$env:PATH;${env:USERPROFILE}\.cargo\bin"
- ps: >
if ($env:targets) { $env:targets -split " " | %{
cmd /c "rustup target add $_ 2>&1"
}}
- rustc -vV
- cargo -vV
build_script:
- cargo build
- cargo build --features "everything impl-debug impl-default"
- cargo build --release --features "everything impl-debug impl-default"
- cargo test --features "everything impl-debug impl-default"
- ps: >
if ($env:targets) { $env:targets -split " " | %{
cmd /c "cargo test --target=$_ --features `"everything impl-debug impl-default`" --no-run 2>&1"
}}
notifications:
- provider: Webhook
url: https://webhooks.gitter.im/e/d3d6703d143c888f0a8a