2017-04-20 14:18:25 +00:00
|
|
|
environment:
|
|
|
|
global:
|
|
|
|
PROJECT_NAME: rustfmt
|
|
|
|
matrix:
|
|
|
|
- TARGET: x86_64-pc-windows-gnu
|
2017-07-06 17:49:45 +00:00
|
|
|
RUST_VERSION: 1.18.0
|
2017-04-20 14:18:25 +00:00
|
|
|
|
2017-04-20 14:00:37 +00:00
|
|
|
install:
|
2017-05-13 18:37:44 +00:00
|
|
|
# - ps: Start-FileDownload "https://static.rust-lang.org/dist/channel-rust-stable"
|
|
|
|
# - ps: $env:RUST_VERSION = Get-Content channel-rust-stable | select -first 1 | %{$_.split('-')[1]}
|
2017-04-21 09:54:52 +00:00
|
|
|
- SET RUST_URL=https://static.rust-lang.org/dist/rust-%RUST_VERSION%-%TARGET%.exe
|
2017-04-20 14:18:25 +00:00
|
|
|
- SET PATH=C:\Rust\bin;C:\msys64\mingw64\bin;%PATH%;C:\msys64\usr\bin
|
|
|
|
- ps: Start-FileDownload $env:RUST_URL -FileName rust-dist.exe
|
2017-04-20 14:00:37 +00:00
|
|
|
- rust-dist.exe /VERYSILENT /NORESTART /COMPONENTS="Rustc,Gcc,Cargo,Std" /DIR="C:\Rust"
|
|
|
|
- rustc -V
|
|
|
|
- cargo -V
|
2017-04-20 14:18:25 +00:00
|
|
|
- pacman --noconfirm -S mingw-w64-x86_64-gtk3
|
2017-04-20 14:00:37 +00:00
|
|
|
|
|
|
|
build_script:
|
|
|
|
- cargo test
|
|
|
|
|
|
|
|
test: false
|