summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2019-06-06 20:56:05 -0700
committerGitHub <noreply@github.com>2019-06-06 20:56:05 -0700
commit53c79aa515fee539beb057bd53ad857fef7ad13e (patch)
tree9155bf1a48be10c4a0f0ce6e603fe001936d6dcd
parent5f0ac4b80020420074d8e4c9fe4da51dcecd9a18 (diff)
parent814c26826ff94b795b678f4c88f1342970218486 (diff)
downloadmixlib-shellout-53c79aa515fee539beb057bd53ad857fef7ad13e.tar.gz
Merge pull request #188 from chef/more_ruby
Add Ruby 2.2 and 2.3 testing
-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