2015-09-11 07:01:52 +02:00
|
|
|
environment:
|
2017-07-19 17:33:30 +02:00
|
|
|
# When this was added there were revocation check failures when using the
|
|
|
|
# libcurl backend as libcurl checks by default, but rustup doesn't provide the
|
2018-11-21 00:30:56 +01:00
|
|
|
# switch to turn this off. Switch to Reqwest which looks to not check for
|
2017-07-19 17:33:30 +02:00
|
|
|
# revocation by default like libcurl does.
|
2018-11-21 00:30:56 +01:00
|
|
|
RUSTUP_USE_REQWEST: 1
|
2017-07-21 17:16:46 +02:00
|
|
|
CARGO_HTTP_CHECK_REVOKE: false
|
2015-09-11 07:01:52 +02:00
|
|
|
matrix:
|
2015-09-13 07:24:01 +02:00
|
|
|
- TARGET: x86_64-pc-windows-gnu
|
|
|
|
MSYS2_BITS: 64
|
|
|
|
- TARGET: i686-pc-windows-gnu
|
|
|
|
MSYS2_BITS: 32
|
2015-09-11 07:01:52 +02:00
|
|
|
- TARGET: x86_64-pc-windows-msvc
|
|
|
|
- TARGET: i686-pc-windows-msvc
|
|
|
|
install:
|
2017-03-23 21:42:26 +01:00
|
|
|
- appveyor-retry appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
|
2016-08-27 08:45:32 +02:00
|
|
|
- rustup-init.exe -y --default-host %TARGET%
|
|
|
|
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
|
2015-10-07 23:38:47 +02:00
|
|
|
- if defined MSYS2_BITS set PATH=%PATH%;C:\msys64\mingw%MSYS2_BITS%\bin
|
2015-09-11 07:01:52 +02:00
|
|
|
- rustc -V
|
|
|
|
- cargo -V
|
|
|
|
|
|
|
|
build: false
|
|
|
|
|
|
|
|
test_script:
|
2016-10-11 01:41:23 +02:00
|
|
|
- cargo test --target %TARGET%
|
2018-02-27 15:47:18 +01:00
|
|
|
- cargo test --no-default-features --target %TARGET%
|
2017-08-10 19:33:19 +02:00
|
|
|
- cargo test --manifest-path libc-test/Cargo.toml --target %TARGET%
|