summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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