summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2018-05-12 10:45:00 -0400
committerAndrew Gallant <jamslam@gmail.com>2018-05-12 10:45:00 -0400
commit2b4cbaa0eecf7b507a612632fe00289b1b358c15 (patch)
tree798a303f12b9a8d5cc6a66f04a1ab1823ff5dc3a
parent0a20ac3e50abd29ffe8800f6a493e1f93b47577f (diff)
ci: fix appveyor, take 20.13.0
-rw-r--r--appveyor.yml22
1 files changed, 20 insertions, 2 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 8dc0406..34c19b4 100644
--- a/appveyor.yml
+++ b/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
@@ -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:
@@ -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