2015-12-24 03:53:27 +00:00
|
|
|
environment:
|
|
|
|
matrix:
|
2016-05-21 01:16:27 +00:00
|
|
|
- TARGET: x86_64-pc-windows-msvc
|
|
|
|
- TARGET: i686-pc-windows-msvc
|
2015-12-24 03:53:27 +00:00
|
|
|
- TARGET: i686-pc-windows-gnu
|
|
|
|
install:
|
|
|
|
- ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-nightly-${env:TARGET}.exe"
|
|
|
|
- rust-nightly-%TARGET%.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust"
|
|
|
|
- SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin
|
|
|
|
- SET PATH=%PATH%;C:\MinGW\bin
|
|
|
|
- rustc -V
|
|
|
|
- cargo -V
|
|
|
|
|
|
|
|
build_script:
|
2016-05-22 01:46:08 +00:00
|
|
|
- cargo build --release --features generic --no-default-features
|
2016-05-21 01:37:14 +00:00
|
|
|
|
|
|
|
artifacts:
|
|
|
|
- path: target\release\uutils.exe
|
|
|
|
name: uutils.exe
|
2015-12-24 03:53:27 +00:00
|
|
|
|
|
|
|
test_script:
|
2016-05-22 08:22:54 +00:00
|
|
|
- cargo test --no-fail-fast --features generic --no-default-features
|