---
expeditor:
  defaults:
    buildkite:
      timeout_in_minutes: 30

steps:

- label: run-lint-and-specs-ruby-2.4
  command:
    - .expeditor/run_linux_tests.sh rake
  expeditor:
    executor:
      docker:
        image: ruby:2.4-buster

- label: run-lint-and-specs-ruby-2.5
  command:
    - .expeditor/run_linux_tests.sh rake
  expeditor:
    executor:
      docker:
        image: ruby:2.5-buster

- label: run-lint-and-specs-ruby-2.6
  command:
    - .expeditor/run_linux_tests.sh rake
  expeditor:
    executor:
      docker:
        image: ruby:2.6-buster
- label: run-lint-and-specs-ruby-2.7rc
  command:
    - .expeditor/run_linux_tests.sh rake
  expeditor:
    executor:
      docker:
        image: ruby:2.7-rc-buster

- label: run-specs-windows
  command:
    - bundle install --jobs=7 --retry=3 --without docs debug
    - bundle exec rake
  expeditor:
    executor:
      docker:
        host_os: windows

---
expeditor:
  defaults:
    buildkite:
      timeout_in_minutes: 30

steps:

- label: run-lint-and-specs-ruby-2.4
  command:
    - .expeditor/run_linux_tests.sh rake
  expeditor:
    executor:
      docker:
        image: ruby:2.4-buster

- label: run-lint-and-specs-ruby-2.5
  command:
    - .expeditor/run_linux_tests.sh rake
  expeditor:
    executor:
      docker:
        image: ruby:2.5-buster

- label: run-lint-and-specs-ruby-2.6
  command:
    - .expeditor/run_linux_tests.sh rake
  expeditor:
    executor:
      docker:
        image: ruby:2.6-buster
- label: run-lint-and-specs-ruby-2.7
  command:
    - .expeditor/run_linux_tests.sh rake
  expeditor:
    executor:
      docker:
        image: ruby:2.7-buster

- label: run-specs-windows
  command:
    - bundle install --jobs=7 --retry=3 --without docs debug
    - bundle exec rake
  expeditor:
    executor:
      docker:
        host_os: windows

Test on the final release of Ruby 2.7
Test on the final release of Ruby 2.7

Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
