Skip to content

Commit

Permalink
ci: fix appveyor, take 2
Browse files Browse the repository at this point in the history
  • Loading branch information
BurntSushi committed May 12, 2018
1 parent 0a20ac3 commit 2b4cbaa
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions appveyor.yml
@@ -1,6 +1,22 @@

# Inspired from https://github.com/habitat-sh/habitat/blob/master/appveyor.yml
cache:
- c:\cargo\registry
- c:\cargo\git
- c:\projects\ripgrep\target

init:
- mkdir c:\cargo
- mkdir c:\rustup
- SET PATH=c:\cargo\bin;%PATH%

environment:
CARGO_HOME: "c:\\cargo"
RUSTUP_HOME: "c:\\rustup"
CARGO_TARGET_DIR: "c:\\projects\\xsv\\target"
global:
PROJECT_NAME: xsv
RUST_BACKTRACE: full
matrix:
# Stable channel
- TARGET: i686-pc-windows-gnu
Expand All @@ -12,6 +28,9 @@ environment:
- TARGET: x86_64-pc-windows-msvc
CHANNEL: stable

matrix:
fast_finish: true

# Install Rust and Cargo
# (Based on from https://github.com/rust-lang/libc/blob/master/appveyor.yml)
install:
Expand All @@ -27,8 +46,7 @@ build: false
# Equivalent to Travis' `script` phase
# TODO modify this phase as you see fit
test_script:
- cargo build --verbose
- cargo test
- cargo test --verbose

before_deploy:
# Generate artifacts for release
Expand Down

0 comments on commit 2b4cbaa

Please sign in to comment.