summaryrefslogtreecommitdiff
path: root/appveyor.yml
diff options
context:
space:
mode:
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml20
1 files changed, 13 insertions, 7 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 959c8e616c..aa9fb93902 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -4,6 +4,9 @@ os: Visual Studio 2015
platform:
- x64
+cache:
+- vendor/bundle
+
environment:
matrix:
- ruby_version: "24-x64"
@@ -26,19 +29,22 @@ install:
- echo %OMNIBUS_RUBYGEMS%
- ps: $env:OMNIBUS_BUNDLER=$(findstr bundler omnibus_overrides.rb | %{ $_.split(" ")[3] })
- echo %OMNIBUS_BUNDLER%
- - ruby --version
- gem --version
- gem update --system %OMNIBUS_RUBYGEMS% || gem update --system %OMNIBUS_RUBYGEMS% || gem update --system %OMNIBUS_RUBYGEMS%
- - gem --version
- - bundler --version
- - SET BUNDLE_WITHOUT=server:docgen:maintenance:pry:travis:integration:ci
- appveyor DownloadFile http://curl.haxx.se/ca/cacert.pem -FileName C:\cacert.pem
- set SSL_CERT_FILE=C:\cacert.pem
- - bundle env
-
-build_script:
+ - SET BUNDLE_WITHOUT=server:docgen:maintenance:pry:travis:integration:ci
+ - bundle config --local path vendor/bundle # use the cache we define above
- bundle install || bundle install || bundle install
+build: off
+
+before_test:
+ - ruby --version
+ - gem --version
+ - bundler --version
+ - bundle env
+
test_script:
- SET SPEC_OPTS=--format progress
- bundle exec rake spec