blob: c2d28e4445e3462cbd7e25805380d2c403ca770e [file] [log] [blame]
Alex Crichton3bf33a42015-09-10 22:01:52 -07001environment:
Alex Crichton87fdebd2015-09-12 22:24:01 -07002 global:
3 MSYS2_BASEVER: 20150512
Alex Crichton3bf33a42015-09-10 22:01:52 -07004 matrix:
Alex Crichton87fdebd2015-09-12 22:24:01 -07005 - TARGET: x86_64-pc-windows-gnu
6 MSYS2_ARCH: x86_64
7 MSYS2_BITS: 64
8 MSYSTEM: MINGW64
9 - TARGET: i686-pc-windows-gnu
10 MSYS2_ARCH: i686
11 MSYS2_BITS: 32
12 MSYSTEM: MINGW32
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 Crichton87fdebd2015-09-12 22:24:01 -070016 - ps: ci\msys2.ps1
Alex Crichton3bf33a42015-09-10 22:01:52 -070017 - ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-nightly-${env:TARGET}.exe"
18 - rust-nightly-%TARGET%.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust"
19 - SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin
Alex Crichton87fdebd2015-09-12 22:24:01 -070020 - if defined MSYS2_BITS set PATH=%PATH%;%CD%\msys2\mingw%MSYS2_BITS%\bin
Alex Crichton3bf33a42015-09-10 22:01:52 -070021 - rustc -V
22 - cargo -V
23
24build: false
25
26test_script:
27 - cargo test
Alex Crichtond11e9142015-09-15 23:28:52 -070028 - cargo run --manifest-path libc-test/Cargo.toml
Alex Crichton6603ca02015-09-18 16:23:25 -070029
30branches:
31 only:
Alex Crichton9cb16342015-09-21 13:37:36 -070032 - master