Skip to content
This repository has been archived by the owner on Jan 6, 2020. It is now read-only.

Commit

Permalink
Merge pull request #43 from Fraser999/appveyor
Browse files Browse the repository at this point in the history
Updated AppVeyor script.
  • Loading branch information
Ross Muir committed Oct 26, 2015
2 parents 60d23c1 + 397c691 commit a7498ab
Showing 1 changed file with 20 additions and 14 deletions.
34 changes: 20 additions & 14 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,31 @@
environment:
global:
RUST_BACKTRACE: 1
matrix:
- RUST_VERSION: 1.3.0
# - RUST_VERSION: beta
# - RUST_VERSION: nightly

clone_depth: 50

install:
- ps: Start-FileDownload "https://github.com/maidsafe/QA/raw/master/Powershell%20Scripts/InstallRust.ps1"; . .\InstallRust.ps1
- ps: |
$url = "https://github.com/maidsafe/QA/raw/master/Powershell%20Scripts/AppVeyor"
Start-FileDownload "$url/Install%20Rust.ps1" -FileName "Install Rust.ps1"
Start-FileDownload "$url/Build.ps1" -FileName "Build.ps1"
Start-FileDownload "$url/Run%20Tests.ps1" -FileName "Run Tests.ps1"
. ".\Install Rust.ps1"
platform:
- x86
- x64

configuration:
# - Debug
# - Debug
- Release

environment:
matrix:
# - RUST_VERSION: 1.1.0
# - RUST_VERSION: beta
- RUST_VERSION: nightly

build: false
build_script:
- ps: . ".\Build.ps1"

test_script:
- ps: if ($env:CONFIGURATION -eq "Release") {
$env:config_flags = "--release"
}
- cargo build --verbose %config_flags%
- cargo test --verbose
- ps: . ".\Run Tests.ps1"

0 comments on commit a7498ab

Please sign in to comment.