| 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 |
| matrix: |
| allow_failures: |
| - target: aarch64-pc-windows-msvc |
| |
| 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 " " | %{ |
| 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 " " | %{ |
| cargo test --target=$_ --features "everything impl-debug impl-default" --no-run 2>&1|%{"$_"} |
| }} |
| |
| notifications: |
| - provider: Webhook |
| url: https://webhooks.gitter.im/e/d3d6703d143c888f0a8a |