diff options
author | Tim Smith <tsmith@chef.io> | 2017-12-21 11:14:47 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-21 11:14:47 -0800 |
commit | 3d46256c31fab1227cf8b494e17d8c103229b2f0 (patch) | |
tree | e91419a3d29583a318799411820a63066d813db6 | |
parent | 37bacbbc9d6ca124af631acf72109a992b255e6a (diff) | |
parent | 96f4072dbb009348076bdd03af6f745461693e3b (diff) | |
download | chef-3d46256c31fab1227cf8b494e17d8c103229b2f0.tar.gz |
Merge pull request #6706 from chef/speed_up_appveyor
Speed up Appveyor testing with bundler caching
-rw-r--r-- | appveyor.yml | 20 |
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 |