Skip to content

Commit

Permalink
Applied matrix build for the multiple platforms.
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Feb 26, 2019
1 parent aec6e97 commit 48a5f2e
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,24 @@
# Add steps that install rails, analyze code, save build artifacts, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/ruby

trigger:
- master

pool:
vmImage: 'Ubuntu-16.04'
strategy:
matrix:
linux:
imageName: 'ubuntu-16.04'
mac:
imageName: 'macos-10.13'
windows:
imageName: 'vs2017-win2016'

steps:
- task: UseRubyVersion@0
inputs:
versionSpec: '>= 2.5'
versionSpec: '>= 2.0'

- script: |
gem install bundler
bundle install --retry=3 --jobs=4
displayName: 'bundle install'

- script: bundle exec rake
displayName: 'bundle exec rake'
- script: ruby -Ilib exe/rake
displayName: 'ruby -Ilib exe/rake'

0 comments on commit 48a5f2e

Please sign in to comment.