Merge pull request #56 from japaric/appveyor

appveyor: use rustup
This commit is contained in:
Jorge Aparicio 2016-08-27 11:47:58 -05:00 committed by GitHub
commit 6c5dfe9f20
1 changed files with 3 additions and 3 deletions

View File

@ -4,9 +4,9 @@ environment:
- TARGET: x86_64-pc-windows-msvc
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
- curl -sSf -o rustup-init.exe https://win.rustup.rs
- rustup-init.exe --default-host %TARGET% --default-toolchain nightly -y
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
- gem install gist
- rustc -Vv
- cargo -V