From 677c1cca79896fdfacc92f6019a09726108e2788 Mon Sep 17 00:00:00 2001 From: Sean McArthur Date: Thu, 15 Dec 2016 11:58:18 -0800 Subject: [PATCH] use rustup and stable rust in appveyor --- .appveyor.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 572a80e..dc32aae 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -4,12 +4,13 @@ environment: - TARGET: i686-pc-windows-msvc - TARGET: x86_64-pc-windows-gnu - TARGET: i686-pc-windows-gnu -install: - - ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-nightly-${env:TARGET}.exe" -FileName "rust-nightly.exe" - - ps: .\rust-nightly.exe /VERYSILENT /NORESTART /DIR="C:\rust" | Out-Null - - ps: $env:PATH="$env:PATH;C:\rust\bin" +lnstall: + - curl -sSf -o rustup-init.exe https://win.rustup.rs/ + - rustup-init.exe -y --default-host %TARGET% + - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin - rustc -vV - cargo -vV build: false test_script: + - cargo build --verbose - cargo test --verbose