third_party_rust_lazycell/appveyor.yml
Nikita Pekin 3e8d8739c0 chore(README.md): fix #license link
Fix `#license` link in `README.md`
Enable `RUST_BACKTRACE` in Appveyor and Travis builds.
2016-06-29 05:02:33 -04:00

42 lines
1.2 KiB
YAML

branches:
only:
- auto
- master
matrix:
fast_finish: true
allow_failures:
- RUST_CHANNEL: nightly
environment:
matrix:
# Earliest compatible stable version
- TARGET: x86_64-pc-windows-gnu
RUST_CHANNEL: 1.0.0
# Stable channel
- TARGET: x86_64-pc-windows-msvc
RUST_CHANNEL: stable
# Beta channel
- TARGET: x86_64-pc-windows-msvc
RUST_CHANNEL: beta
# Nightly channel
- TARGET: x86_64-pc-windows-msvc
RUST_CHANNEL: nightly
# Install Rust and Cargo
install:
- ps: Start-FileDownload "https://static.rust-lang.org/dist/channel-rust-stable"
- ps: $env:RUST_VERSION = Get-Content channel-rust-stable | select -first 1 | %{$_.split('-')[1]}
- if NOT "%RUST_CHANNEL%" == "stable" set RUST_VERSION=%RUST_CHANNEL%
- ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-${env:RUST_VERSION}-${env:TARGET}.exe"
- rust-%RUST_VERSION%-%TARGET%.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust"
- SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin
- set RUST_BACKTRACE=1
- rustc -V
- cargo -V
build: false
# Equivalent to Travis' `script` phase
test_script:
- cargo build --verbose
- cargo test --verbose