From e967c3af70c87d425dcbe3e732f931b14b509cca Mon Sep 17 00:00:00 2001 From: "Abinoam P. Marques Jr" Date: Mon, 25 Sep 2017 19:56:00 -0300 Subject: Update .appveyor.yml --- Changelog.md | 3 +++ appveyor.yml | 38 ++++++++++++++++++++++++++++---------- 2 files changed, 31 insertions(+), 10 deletions(-) diff --git a/Changelog.md b/Changelog.md index fe00ff2..b07d79b 100644 --- a/Changelog.md +++ b/Changelog.md @@ -2,6 +2,9 @@ Below is a complete listing of changes for each revision of HighLine. +### Unreleased +* PR #216 - Update .appveyor.yml - Fix Windows CI (@abinoam) + ### 2.0.0-develop.11 / 2017-09-25 * PR #215 - Apply several Rubocop stylistic suggestions (@abinoam) * Update gemspec/Gemfile to newer standards diff --git a/appveyor.yml b/appveyor.yml index eca79c7..f0441f4 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,19 +1,37 @@ -version: '{build}' +version: 2.0.{build}-{branch} -skip_tags: true +cache: + - vendor/bundle environment: matrix: - - ruby_version: "21" - - ruby_version: "21-x64" + - RUBY_VERSION: "193" + - RUBY_VERSION: "200" + - RUBY_VERSION: "200-x64" + - RUBY_VERSION: "21" + - RUBY_VERSION: "21-x64" + - RUBY_VERSION: "22" + - RUBY_VERSION: "22-x64" + - RUBY_VERSION: "23" + - RUBY_VERSION: "23-x64" + - RUBY_VERSION: "24" + - RUBY_VERSION: "24-x64" -install: - - SET PATH=C:\Ruby%ruby_version%\bin;%PATH% - - gem install bundler --no-document -v 1.10.5 - - bundle install --retry=3 --without development +matrix: + allow_failures: + - RUBY_VERSION: "193" -test_script: - - bundle exec rake +install: + - set PATH=C:\Ruby%RUBY_VERSION%\bin;%PATH% + - bundle config --local path vendor/bundle + - bundle install --retry=3 --without code_quality build: off +before_test: + - ruby -v + - gem -v + - bundle -v + +test_script: + - bundle exec rake -- cgit v1.2.1