mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-27 00:00:12 +02:00
## Motivation Currently, the `RUST_BACKTRACE` environment variable is set to `1` on Travis CI builds: https://github.com/tokio-rs/tokio/blob/0ca973a7ebc5b8a29beac1ccb6c73ef26ddcbf22/.travis.yml#L49 However, it's not set on AppVeyor. This can make debugging Windows-specific CI failures challenging for developers on other operating systems. ## Solution This branch sets `RUST_BACKTRACE=1` on AppVeyor. Signed-off-by: Eliza Weisman <[email protected]>
21 lines
457 B
YAML
21 lines
457 B
YAML
environment:
|
|
matrix:
|
|
- TARGET: x86_64-pc-windows-msvc
|
|
platform: x64
|
|
- TARGET: i686-pc-windows-msvc
|
|
platform: x86
|
|
|
|
install:
|
|
- appveyor-retry appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
|
|
- rustup-init.exe -y --default-host %TARGET%
|
|
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
|
|
- set RUST_BACKTRACE=1
|
|
|
|
- rustc -V
|
|
- cargo -V
|
|
|
|
build: false
|
|
|
|
test_script:
|
|
- cargo test --all --no-fail-fast --target %TARGET%
|