diff options
author | Tim Smith <tsmith@chef.io> | 2019-04-25 13:40:53 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2019-04-25 13:52:19 -0700 |
commit | 246f02b6846404713a88f407286de83bdf36cf38 (patch) | |
tree | 02b7e070e3e738df3d65bc28f4eadf100d87701d | |
parent | dec84604d2f4f78545ad52b754f2e5d2c74eecc9 (diff) | |
download | ohai-test.tar.gz |
Updatetest
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | azure-pipelines.yml | 63 |
1 files changed, 17 insertions, 46 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 5468f141..cbc2bf37 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -5,49 +5,20 @@ trigger: pr: - master -jobs: -- job: windows - displayName: 'Windows' - pool: - vmImage: 'VS2017-Win2016' - - steps: - - task: UseRubyVersion@0 - inputs: - versionSpec: '>= 2.4' - addToPath: true - - script: | - CALL gem install bundler - bundle install --retry=3 --jobs=4 - - script: bundle exec rake - -- job: linux - displayName: 'Linux' - pool: - vmImage: 'ubuntu-16.04' - - steps: - - task: UseRubyVersion@0 - inputs: - versionSpec: '>= 2.4' - addToPath: true - - script: | - CALL gem install bundler - bundle install --retry=3 --jobs=4 - - script: bundle exec rake - - -- job: macos - displayName: 'MacOS' - pool: - vmImage: 'macOS-10.13' - - steps: - - task: UseRubyVersion@0 - inputs: - versionSpec: '>= 2.4' - addToPath: true - - script: | - CALL gem install bundler - bundle install --retry=3 --jobs=4 - - script: bundle exec rake +pool: + vmImage: 'Ubuntu 16.04' +strategy: + matrix: + ruby 2.3: + ruby_version: '2.3' + ruby 2.4: + ruby_version: '2.4' + ruby 2.5: + ruby_version: '2.5' + ruby 2.6: + ruby_version: '2.6' +steps: +- task: UseRubyVersion@0 + inputs: + versionSpec: $(ruby_version) +- script: ruby --version |