sudo: false
language: ruby
cache: bundler
rvm:
  - 2.2.2
  - 1.9.3
gemfile:
  - test/gemfiles/Gemfile.chef-11
  - test/gemfiles/Gemfile.chef-10
  - test/gemfiles/Gemfile.chef-12
  - test/gemfiles/Gemfile.chef-master
matrix:
  allow_failures:
    - gemfile: test/gemfiles/Gemfile.chef-master
  exclude:
    # Chef ~> 12 depends on ohai ~> 8.0 which requires Ruby version >= 2.0.0
    - rvm: 1.9.3
      gemfile: test/gemfiles/Gemfile.chef-12
    - rvm: 1.9.3
      gemfile: test/gemfiles/Gemfile.chef-master


sudo: false
language: ruby
cache: bundler
rvm:
  - 2.3.4
  - 2.2.2
  - 1.9.3
gemfile:
  - test/gemfiles/Gemfile.chef-11
  - test/gemfiles/Gemfile.chef-10
  - test/gemfiles/Gemfile.chef-12
  - test/gemfiles/Gemfile.chef-master
matrix:
  allow_failures:
    - gemfile: test/gemfiles/Gemfile.chef-master
  exclude:
    # Chef ~> 12 depends on ohai ~> 8.0 which requires Ruby version >= 2.0.0
    - rvm: 1.9.3
      gemfile: test/gemfiles/Gemfile.chef-12
    - rvm: 1.9.3
      gemfile: test/gemfiles/Gemfile.chef-master
    # Chef ~> 13 requires Ruby version >= 2.3.0
    - rvm: 2.2.2
      gemfile: test/gemfiles/Gemfile.chef-master

Add rvm 2.3.4 for integration chef ~> 13
Add rvm 2.3.4 for integration chef ~> 13
