summaryrefslogtreecommitdiff
path: root/.expeditor/verify.pipeline.yml
blob: 06ca2f35a505c6336fe72de752db7ed3d5f4520d (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
73
74
75
76
77
78
79
80
81
82
83
84
85
steps:

# Allow ruby-2.4 to softfail since it was configured so in travis too
- label: ":ruby: 2.4"
  command:
    - ruby --version
    - bundle --version
    - gem update --system
    - bundle install --without development_extras --jobs 3 --retry 3 --path vendor/bundle
    - gem install yajl-ruby json psych
    - bundle exec rake
  soft_fail:
      - exit_status: 1
  expeditor:
    executor:
      docker:
        image: ruby:2.4
        environment:
          - BUNDLE_GEMFILE=/workdir/Gemfile
          - FORCE_FFI_YAJL="ext"

- label: ":ruby: 2.5"
  command:
    - ruby --version
    - bundle --version
    - gem update --system
    - bundle install --without development_extras --jobs 3 --retry 3 --path vendor/bundle
    - gem install yajl-ruby json psych
    - bundle exec rake
  expeditor:
    executor:
      docker:
        image: ruby:2.5
        environment:
          - BUNDLE_GEMFILE=/workdir/Gemfile
          - FORCE_FFI_YAJL="ext"

- label: ":ruby: 2.6"
  command:
    - ruby --version
    - bundle --version
    - gem update --system
    - bundle install --without development_extras --jobs 3 --retry 3 --path vendor/bundle
    - gem install yajl-ruby json psych
    - bundle exec rake
  expeditor:
    executor:
      docker:
        image: ruby:2.6
        privileged: true
        environment:
          - BUNDLE_GEMFILE=/workdir/Gemfile
          - FORCE_FFI_YAJL="ext"

# Allow jruby to softfail since it was configured so in travis too
- label: run-lint-and-specs-jruby
  command:
    - ruby --version
    - bundle --version
    - gem update --system
    - apt-get update -y && apt-get install -y git make gcc
    - bundle install --without development_extras --jobs 3 --retry 3 --path vendor/bundle
    - gem install ffi json psych
    - bundle exec rake
  soft_fail:
      - exit_status: 1
  expeditor:
    executor:
      docker:
        image: jruby
        privileged: true
        environment:
          - BUNDLE_GEMFILE=/workdir/Gemfile
          - RUBY_PLATFORM="jruby"
          - FORCE_FFI_YAJL="ffi"

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