blob: fe2a332a1c425fdcc62506ea27c40c29cf7b0670 [file] [log] [blame]
Alex Crichton3bf33a42015-09-10 22:01:52 -07001environment:
Alex Crichtonf94b7ff2017-07-19 08:33:30 -07002 # When this was added there were revocation check failures when using the
3 # libcurl backend as libcurl checks by default, but rustup doesn't provide the
4 # switch to turn this off. Switch to Hyper which looks to not check for
5 # revocation by default like libcurl does.
6 RUSTUP_USE_HYPER: 1
Alex Crichtonb36211b2017-07-21 08:16:46 -07007 CARGO_HTTP_CHECK_REVOKE: false
Alex Crichton3bf33a42015-09-10 22:01:52 -07008 matrix:
Alex Crichton87fdebd2015-09-12 22:24:01 -07009 - TARGET: x86_64-pc-windows-gnu
Alex Crichton87fdebd2015-09-12 22:24:01 -070010 MSYS2_BITS: 64
Alex Crichton87fdebd2015-09-12 22:24:01 -070011 - TARGET: i686-pc-windows-gnu
Alex Crichton87fdebd2015-09-12 22:24:01 -070012 MSYS2_BITS: 32
Alex Crichton3bf33a42015-09-10 22:01:52 -070013 - TARGET: x86_64-pc-windows-msvc
14 - TARGET: i686-pc-windows-msvc
Alex Crichton3bf33a42015-09-10 22:01:52 -070015install:
Alex Crichton1febc502017-03-23 13:42:26 -070016 - appveyor-retry appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
Alex Crichton92105c62016-08-26 23:45:32 -070017 - rustup-init.exe -y --default-host %TARGET%
18 - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
Alex Crichtonab0442c2015-10-07 14:38:47 -070019 - if defined MSYS2_BITS set PATH=%PATH%;C:\msys64\mingw%MSYS2_BITS%\bin
Alex Crichton3bf33a42015-09-10 22:01:52 -070020 - rustc -V
21 - cargo -V
22
23build: false
24
25test_script:
Alex Crichtondbc65bc2016-10-10 16:41:23 -070026 - cargo test --target %TARGET%
gnzlbg98884382018-02-27 15:47:18 +010027 - cargo test --no-default-features --target %TARGET%
Bryant Mairs2e11d9e2017-08-10 10:33:19 -070028 - cargo test --manifest-path libc-test/Cargo.toml --target %TARGET%