sudo: false
language: ruby
cache: bundler
rvm:
  - 2.4.1
  - 2.3.4
  - 2.2.7
gemfile:
  - test/gemfiles/Gemfile.chef-12
  - test/gemfiles/Gemfile.chef-13
  - test/gemfiles/Gemfile.chef-master
matrix:
  allow_failures:
    - gemfile: test/gemfiles/Gemfile.chef-master
  exclude:
    # Chef ~> 13 requires Ruby version >= 2.3.0
    - rvm: 2.2.7
      gemfile: test/gemfiles/Gemfile.chef-13
    - rvm: 2.2.7
      gemfile: test/gemfiles/Gemfile.chef-master

sudo: false
language: ruby
cache: bundler
rvm:
  - 2.5.0
  - 2.4.3
  - 2.3.6
  - 2.2.9
gemfile:
  - test/gemfiles/Gemfile.chef-12
  - test/gemfiles/Gemfile.chef-13
  - test/gemfiles/Gemfile.chef-master
matrix:
  allow_failures:
    - gemfile: test/gemfiles/Gemfile.chef-master
  exclude:
    # Chef ~> 13 requires Ruby version >= 2.3.0
    - rvm: 2.2.9
      gemfile: test/gemfiles/Gemfile.chef-13
    - rvm: 2.2.9
      gemfile: test/gemfiles/Gemfile.chef-master

Test against ruby 2.4 and 2.5
[CI] Test against ruby 2.4 and 2.5