This commit is contained in:
daa84 2017-04-21 12:45:11 +03:00
parent cbdb6d5aa4
commit 10694aedbc
1 changed files with 0 additions and 2 deletions

View File

@ -3,12 +3,10 @@ environment:
PROJECT_NAME: rustfmt
matrix:
- TARGET: x86_64-pc-windows-gnu
CHANNEL: stable
install:
- 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]}
- if NOT "%CHANNEL%" == "stable" set RUST_VERSION=%CHANNEL%
- SET RUST_URL=https://static.rust-lang.org/dist/rust-${env:RUST_VERSION}-${env:TARGET}.exe
- SET PATH=C:\Rust\bin;C:\msys64\mingw64\bin;%PATH%;C:\msys64\usr\bin
- ps: Start-FileDownload $env:RUST_URL -FileName rust-dist.exe