Skip to content

Commit

Permalink
Update AppVeyor config.
Browse files Browse the repository at this point in the history
Install gems in ./vendor/bundle and cache those only.
  • Loading branch information
XhmikosR committed Aug 27, 2016
1 parent 02602be commit d49bf80
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions appveyor.yml
@@ -1,5 +1,3 @@
# https://www.appveyor.com/docs/appveyor-yml

version: "{build}" version: "{build}"


clone_depth: 10 clone_depth: 10
Expand All @@ -13,31 +11,24 @@ build: off


install: install:
- SET PATH=C:\Ruby%RUBY_FOLDER_VER%\bin;%PATH% - SET PATH=C:\Ruby%RUBY_FOLDER_VER%\bin;%PATH%
- bundle install --retry 5 - bundle install --retry 5 --jobs=%NUMBER_OF_PROCESSORS% --clean --path vendor\bundle


environment: environment:
BUNDLE_WITHOUT: "benchmark:site:development" BUNDLE_WITHOUT: "benchmark:site:development"
matrix: matrix:
- RUBY_FOLDER_VER: "23" - RUBY_FOLDER_VER: "23"
GEMS_FOLDER_VER: "2.3.0"
TEST_SUITE: "test" TEST_SUITE: "test"
- RUBY_FOLDER_VER: "23" - RUBY_FOLDER_VER: "23"
GEMS_FOLDER_VER: "2.3.0"
TEST_SUITE: "cucumber" TEST_SUITE: "cucumber"
- RUBY_FOLDER_VER: "23" - RUBY_FOLDER_VER: "23"
GEMS_FOLDER_VER: "2.3.0"
TEST_SUITE: "fmt" TEST_SUITE: "fmt"
- RUBY_FOLDER_VER: "23" - RUBY_FOLDER_VER: "23"
GEMS_FOLDER_VER: "2.3.0"
TEST_SUITE: "default-site" TEST_SUITE: "default-site"
- RUBY_FOLDER_VER: "23-x64" - RUBY_FOLDER_VER: "23-x64"
GEMS_FOLDER_VER: "2.3.0"
TEST_SUITE: "test" TEST_SUITE: "test"
- RUBY_FOLDER_VER: "22" - RUBY_FOLDER_VER: "22"
GEMS_FOLDER_VER: "2.2.0"
TEST_SUITE: "test" TEST_SUITE: "test"
- RUBY_FOLDER_VER: "21" - RUBY_FOLDER_VER: "21"
GEMS_FOLDER_VER: "2.1.0"
TEST_SUITE: "test" TEST_SUITE: "test"


test_script: test_script:
Expand All @@ -48,5 +39,4 @@ test_script:


cache: cache:
# If one of the files after the right arrow changes, cache will be skipped # If one of the files after the right arrow changes, cache will be skipped
- C:\Ruby%RUBY_FOLDER_VER%\bin -> Gemfile,jekyll.gemspec,appveyor.yml - 'vendor\bundle -> appveyor.yml,Gemfile,jekyll.gemspec'
- C:\Ruby%RUBY_FOLDER_VER%\lib\ruby\gems\%GEMS_FOLDER_VER% -> Gemfile,jekyll.gemspec,appveyor.yml

0 comments on commit d49bf80

Please sign in to comment.