Skip to content

Commit

Permalink
adds stable channel to AppVeyor test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
dcuddeback committed Mar 19, 2016
1 parent b3efbbf commit 17cca2b
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ platform:

environment:
matrix:
- RUST_VERSION: 1.3.0
- RUST_VERSION: stable
VENDOR: gnu
- RUST_VERSION: 1.3.0
- RUST_VERSION: stable
VENDOR: msvc
- RUST_VERSION: 1.3.0
VENDOR: gnu
- RUST_VERSION: beta
VENDOR: gnu
- RUST_VERSION: beta
Expand All @@ -21,7 +23,14 @@ install:
else {
$arch = "x86_64"
}
Start-FileDownload "https://static.rust-lang.org/dist/rust-${env:RUST_VERSION}-$arch-pc-windows-${env:VENDOR}.exe" -FileName rust-install.exe
if ($env:RUST_VERSION -eq "stable") {
Start-FileDownload "https://static.rust-lang.org/dist/channel-rust-stable" -FileName "channel-rust-stable"
$installer = Get-Content "channel-rust-stable" | Select-String -Pattern "$arch-pc-windows-${env:VENDOR}.exe"
}
else {
$installer = "rust-${env:RUST_VERSION}-$arch-pc-windows-${env:VENDOR}.exe"
}
Start-FileDownload "https://static.rust-lang.org/dist/$installer" -FileName rust-install.exe
- rust-install.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust"
- SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin
- rustc -V
Expand Down

0 comments on commit 17cca2b

Please sign in to comment.