Fix build

This commit is contained in:
daa 2017-05-13 21:37:44 +03:00
parent 9eccd4599d
commit e076a043d4

View File

@ -3,10 +3,11 @@ environment:
PROJECT_NAME: rustfmt PROJECT_NAME: rustfmt
matrix: matrix:
- TARGET: x86_64-pc-windows-gnu - TARGET: x86_64-pc-windows-gnu
- RUST_VERSION: 1.17.0
install: install:
- ps: Start-FileDownload "https://static.rust-lang.org/dist/channel-rust-stable" # - 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]} # - ps: $env:RUST_VERSION = Get-Content channel-rust-stable | select -first 1 | %{$_.split('-')[1]}
- SET RUST_URL=https://static.rust-lang.org/dist/rust-%RUST_VERSION%-%TARGET%.exe - SET RUST_URL=https://static.rust-lang.org/dist/rust-%RUST_VERSION%-%TARGET%.exe
- SET PATH=C:\Rust\bin;C:\msys64\mingw64\bin;%PATH%;C:\msys64\usr\bin - SET PATH=C:\Rust\bin;C:\msys64\mingw64\bin;%PATH%;C:\msys64\usr\bin
- ps: Start-FileDownload $env:RUST_URL -FileName rust-dist.exe - ps: Start-FileDownload $env:RUST_URL -FileName rust-dist.exe