Alex Crichton | 3bf33a4 | 2015-09-10 22:01:52 -0700 | [diff] [blame] | 1 | environment: |
Alex Crichton | f94b7ff | 2017-07-19 08:33:30 -0700 | [diff] [blame] | 2 | # 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 Crichton | b36211b | 2017-07-21 08:16:46 -0700 | [diff] [blame] | 7 | CARGO_HTTP_CHECK_REVOKE: false |
Alex Crichton | 3bf33a4 | 2015-09-10 22:01:52 -0700 | [diff] [blame] | 8 | matrix: |
Alex Crichton | 87fdebd | 2015-09-12 22:24:01 -0700 | [diff] [blame] | 9 | - TARGET: x86_64-pc-windows-gnu |
Alex Crichton | 87fdebd | 2015-09-12 22:24:01 -0700 | [diff] [blame] | 10 | MSYS2_BITS: 64 |
Alex Crichton | 87fdebd | 2015-09-12 22:24:01 -0700 | [diff] [blame] | 11 | - TARGET: i686-pc-windows-gnu |
Alex Crichton | 87fdebd | 2015-09-12 22:24:01 -0700 | [diff] [blame] | 12 | MSYS2_BITS: 32 |
Alex Crichton | 3bf33a4 | 2015-09-10 22:01:52 -0700 | [diff] [blame] | 13 | - TARGET: x86_64-pc-windows-msvc |
| 14 | - TARGET: i686-pc-windows-msvc |
Alex Crichton | 3bf33a4 | 2015-09-10 22:01:52 -0700 | [diff] [blame] | 15 | install: |
Alex Crichton | 1febc50 | 2017-03-23 13:42:26 -0700 | [diff] [blame] | 16 | - appveyor-retry appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe |
Alex Crichton | 92105c6 | 2016-08-26 23:45:32 -0700 | [diff] [blame] | 17 | - rustup-init.exe -y --default-host %TARGET% |
| 18 | - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin |
Alex Crichton | ab0442c | 2015-10-07 14:38:47 -0700 | [diff] [blame] | 19 | - if defined MSYS2_BITS set PATH=%PATH%;C:\msys64\mingw%MSYS2_BITS%\bin |
Alex Crichton | 3bf33a4 | 2015-09-10 22:01:52 -0700 | [diff] [blame] | 20 | - rustc -V |
| 21 | - cargo -V |
| 22 | |
| 23 | build: false |
| 24 | |
| 25 | test_script: |
Alex Crichton | dbc65bc | 2016-10-10 16:41:23 -0700 | [diff] [blame] | 26 | - cargo test --target %TARGET% |
Bryant Mairs | 2e11d9e | 2017-08-10 10:33:19 -0700 | [diff] [blame] | 27 | - cargo test --manifest-path libc-test/Cargo.toml --target %TARGET% |