summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2019-06-06 20:18:59 -0700
committerTim Smith <tsmith@chef.io>2019-06-06 20:45:13 -0700
commit814c26826ff94b795b678f4c88f1342970218486 (patch)
tree9155bf1a48be10c4a0f0ce6e603fe001936d6dcd
parent1972bd14f349ff66a3af21950365fd3b5e6015f8 (diff)
downloadmixlib-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.yml21
-rw-r--r--Gemfile6
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
-
diff --git a/Gemfile b/Gemfile
index a013bb2..8928d2c 100644
--- a/Gemfile
+++ b/Gemfile
@@ -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