From 050aacfc85a938ee955d0e48a6f86ce17239add0 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Tue, 2 Aug 2016 09:12:27 +0300 Subject: [PATCH 1/2] Update appveyor.yml. * rename variables * add `default-site` target * remove `fast_finish` in order to match Travis CI behavior * run cucumber tests only on the latest Ruby --- appveyor.yml | 46 +++++++++++++++++++--------------------------- 1 file changed, 19 insertions(+), 27 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index d8a35133..9e4ac855 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -12,39 +12,33 @@ branches: build: off install: - - SET PATH=C:\Ruby%ruby_folder_version%\bin;%PATH% + - SET PATH=C:\Ruby%RUBY_FOLDER_VER%\bin;%PATH% - bundle install --retry 5 environment: BUNDLE_WITHOUT: "benchmark:site:development" matrix: - - ruby_folder_version: "23" - ruby_gems_folder: "2.3.0" + - RUBY_FOLDER_VER: "23" + GEMS_FOLDER_VER: "2.3.0" TEST_SUITE: "test" - - ruby_folder_version: "23" - ruby_gems_folder: "2.3.0" + - RUBY_FOLDER_VER: "23" + GEMS_FOLDER_VER: "2.3.0" TEST_SUITE: "cucumber" - - ruby_folder_version: "23" - ruby_gems_folder: "2.3.0" + - RUBY_FOLDER_VER: "23" + GEMS_FOLDER_VER: "2.3.0" TEST_SUITE: "fmt" - - ruby_folder_version: "23-x64" - ruby_gems_folder: "2.3.0" - TEST_SUITE: "cucumber" - - ruby_folder_version: "23-x64" - ruby_gems_folder: "2.3.0" + - RUBY_FOLDER_VER: "23" + GEMS_FOLDER_VER: "2.3.0" + TEST_SUITE: "default-site" + - RUBY_FOLDER_VER: "23-x64" + GEMS_FOLDER_VER: "2.3.0" TEST_SUITE: "test" - - ruby_folder_version: "22" - ruby_gems_folder: "2.2.0" + - RUBY_FOLDER_VER: "22" + GEMS_FOLDER_VER: "2.2.0" TEST_SUITE: "test" - - ruby_folder_version: "22" - ruby_gems_folder: "2.2.0" - TEST_SUITE: "cucumber" - - ruby_folder_version: "21" - ruby_gems_folder: "2.1.0" + - RUBY_FOLDER_VER: "21" + GEMS_FOLDER_VER: "2.1.0" TEST_SUITE: "test" - - ruby_folder_version: "21" - ruby_gems_folder: "2.1.0" - TEST_SUITE: "cucumber" test_script: - ruby --version @@ -52,9 +46,7 @@ test_script: - bundler --version - bash ./script/cibuild -matrix: - fast_finish: true - cache: - - C:\Ruby%ruby_folder_version%\bin -> Gemfile,jekyll.gemspec - - C:\Ruby%ruby_folder_version%\lib\ruby\gems\%ruby_gems_folder% -> Gemfile,jekyll.gemspec + # 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 + - C:\Ruby%RUBY_FOLDER_VER%\lib\ruby\gems\%GEMS_FOLDER_VER% -> Gemfile,jekyll.gemspec,appveyor.yml From 801d12b9166e11892d20242a364ec1dd6f44d1dd Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Tue, 2 Aug 2016 09:48:11 +0300 Subject: [PATCH 2/2] Gemfile: specify `x64_mingw` for the optional deps. --- Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 1f49e56a..8c71ff0c 100644 --- a/Gemfile +++ b/Gemfile @@ -72,7 +72,7 @@ group :jekyll_optional_dependencies do gem "kramdown", "~> 1.9" gem "rdoc", "~> 4.2" - platform :ruby, :mswin, :mingw do + platform :ruby, :mswin, :mingw, :x64_mingw do gem "rdiscount", "~> 2.0" gem "pygments.rb", "~> 0.6.0" gem "redcarpet", "~> 3.2", ">= 3.2.3"