Skip to content
This repository was archived by the owner on Apr 24, 2025. It is now read-only.

Commit 2b4cbaa

Browse files
committed
ci: fix appveyor, take 2
1 parent 0a20ac3 commit 2b4cbaa

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

appveyor.yml

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,22 @@
1+
2+
# Inspired from https://github.com/habitat-sh/habitat/blob/master/appveyor.yml
3+
cache:
4+
- c:\cargo\registry
5+
- c:\cargo\git
6+
- c:\projects\ripgrep\target
7+
8+
init:
9+
- mkdir c:\cargo
10+
- mkdir c:\rustup
11+
- SET PATH=c:\cargo\bin;%PATH%
12+
113
environment:
14+
CARGO_HOME: "c:\\cargo"
15+
RUSTUP_HOME: "c:\\rustup"
16+
CARGO_TARGET_DIR: "c:\\projects\\xsv\\target"
217
global:
318
PROJECT_NAME: xsv
19+
RUST_BACKTRACE: full
420
matrix:
521
# Stable channel
622
- TARGET: i686-pc-windows-gnu
@@ -12,6 +28,9 @@ environment:
1228
- TARGET: x86_64-pc-windows-msvc
1329
CHANNEL: stable
1430

31+
matrix:
32+
fast_finish: true
33+
1534
# Install Rust and Cargo
1635
# (Based on from https://github.com/rust-lang/libc/blob/master/appveyor.yml)
1736
install:
@@ -27,8 +46,7 @@ build: false
2746
# Equivalent to Travis' `script` phase
2847
# TODO modify this phase as you see fit
2948
test_script:
30-
- cargo build --verbose
31-
- cargo test
49+
- cargo test --verbose
3250

3351
before_deploy:
3452
# Generate artifacts for release

0 commit comments

Comments
 (0)