summaryrefslogtreecommitdiff
path: root/.expeditor/verify.pipeline.yml
diff options
context:
space:
mode:
authorJaymala Sinha <jsinha@chef.io>2019-10-10 14:51:02 -0400
committerJaymala Sinha <jsinha@chef.io>2019-10-10 15:14:57 -0400
commit5460919d0313a53c8eb36aa7c98c9c87431f89ba (patch)
treecfe022082b127fa4e7d16d3ece4324bb570e3e0b /.expeditor/verify.pipeline.yml
parent95ee05bb6dca6788ecd6d3663e15a442abfe40ba (diff)
downloadffi-yajl-5460919d0313a53c8eb36aa7c98c9c87431f89ba.tar.gz
Fix verification tests
Signed-off-by: Jaymala Sinha <jsinha@chef.io>
Diffstat (limited to '.expeditor/verify.pipeline.yml')
-rw-r--r--.expeditor/verify.pipeline.yml36
1 files changed, 31 insertions, 5 deletions
diff --git a/.expeditor/verify.pipeline.yml b/.expeditor/verify.pipeline.yml
index 825e2a1..8237b99 100644
--- a/.expeditor/verify.pipeline.yml
+++ b/.expeditor/verify.pipeline.yml
@@ -1,31 +1,54 @@
steps:
-- label: run-lint-and-specs-ruby-2.4
+- label: ":ruby: 2.4"
command:
+ - ruby --version
+ - bundle --version
+ - gem update --system
- bundle install --jobs=7 --retry=3 --without docs development
- bundle exec rake
expeditor:
executor:
docker:
- image: ruby:2.4-stretch
- privileged: true
+ image: ruby:2.4
environment:
- BUNDLE_GEMFILE=/workdir/Gemfile
-- label: run-lint-and-specs-ruby-2.6
+- label: ":ruby: 2.5"
command:
+ - ruby --version
+ - bundle --version
+ - gem update --system
- bundle install --jobs=7 --retry=3 --without docs development
- bundle exec rake
expeditor:
executor:
docker:
- image: ruby:2.6-stretch
+ image: ruby:2.5
+ environment:
+ - BUNDLE_GEMFILE=/workdir/Gemfile
+
+- label: ":ruby: 2.6"
+ command:
+ - ruby --version
+ - bundle --version
+ - gem update --system
+ - bundle install --jobs=7 --retry=3 --without docs development
+ - bundle exec rake
+ expeditor:
+ executor:
+ docker:
+ image: ruby:2.6
privileged: true
environment:
- BUNDLE_GEMFILE=/workdir/Gemfile
- label: run-lint-and-specs-jruby
command:
+ - ruby --version
+ - bundle --version
+ - gem update --system
+ - apt-get update -y && apt-get install -y git
- bundle install --jobs=7 --retry=3 --without docs development
- bundle exec rake
expeditor:
@@ -35,6 +58,7 @@ steps:
privileged: true
environment:
- BUNDLE_GEMFILE=/workdir/Gemfile
+ - RUBY_PLATFORM="jruby"
- label: run-specs-windows
command:
@@ -43,4 +67,6 @@ steps:
executor:
docker:
host_os: windows
+ environment:
+ - RUBY_PLATFORM="windows"
shell: ["powershell", "-Command"]