summaryrefslogtreecommitdiff
path: root/.expeditor/verify.pipeline.yml
blob: 8237b99f53da286a4ab6b8b7d7c82c83b4b204f3 (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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
steps:

- 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
        environment:
          - BUNDLE_GEMFILE=/workdir/Gemfile

- 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.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:
    executor:
      docker:
        image: jruby
        privileged: true
        environment:
          - BUNDLE_GEMFILE=/workdir/Gemfile
          - RUBY_PLATFORM="jruby"

- label: run-specs-windows
  command:
    - /workdir/.expeditor/buildkite/verify.ps1
  expeditor:
    executor:
      docker:
        host_os: windows
        environment:
          - RUBY_PLATFORM="windows"
        shell: ["powershell", "-Command"]