diff options
author | Tim Smith <tsmith@chef.io> | 2019-06-06 20:18:59 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2019-06-06 20:45:13 -0700 |
commit | 814c26826ff94b795b678f4c88f1342970218486 (patch) | |
tree | 9155bf1a48be10c4a0f0ce6e603fe001936d6dcd | |
parent | 1972bd14f349ff66a3af21950365fd3b5e6015f8 (diff) | |
download | mixlib-shellout-814c26826ff94b795b678f4c88f1342970218486.tar.gz |
Add Ruby 2.2 and 2.3 testing
Test what we support
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | .expeditor/verify.pipeline.yml | 21 | ||||
-rw-r--r-- | Gemfile | 6 |
2 files changed, 25 insertions, 2 deletions
diff --git a/.expeditor/verify.pipeline.yml b/.expeditor/verify.pipeline.yml index 8cb872a..a29049b 100644 --- a/.expeditor/verify.pipeline.yml +++ b/.expeditor/verify.pipeline.yml @@ -1,5 +1,25 @@ steps: +- label: run-lint-and-specs-ruby-2.2 + command: + - export USER="root" + - bundle install --jobs=7 --retry=3 --without docs development style + - bundle exec rake spec + expeditor: + executor: + docker: + image: ruby:2.2-jessie + +- label: run-lint-and-specs-ruby-2.3 + command: + - export USER="root" + - bundle install --jobs=7 --retry=3 --without docs development + - bundle exec rake + expeditor: + executor: + docker: + image: ruby:2.3-stretch + - label: run-lint-and-specs-ruby-2.4 command: - export USER="root" @@ -29,4 +49,3 @@ steps: executor: docker: image: ruby:2.6-stretch - @@ -8,8 +8,12 @@ group :docs do gem "github-markup" end -group :test do +# added to its own group so we can exclude for Ruby 2.2 +group :style do gem "chefstyle" +end + +group :test do gem "rspec", "~> 3.0" gem "rake" end |