summaryrefslogtreecommitdiff
path: root/azure-pipelines.yml
blob: 5468f141b66b851d7f12b072dbfd55f16a0c9985 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: $(SourceBranchName)_$(Date:yyyyMMdd)$(Rev:.r)

trigger:
- master
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