language: ruby
cache: bundler
dist: trusty

sudo: false

branches:
  only:
    - master
    - 13-stable

before_install:
  - gem --version
  - rvm @global do gem uninstall bundler -a -x -I || true
  - gem install bundler
  - bundle --version
  - rm -f .bundle/config
rvm:
  - 2.4.3
  - 2.5.0
  - ruby-head

matrix:
  allow_failures:
    - rvm: ruby-head

script:
  - bundle exec chefstyle -v
  - bundle exec chefstyle
  - bundle exec rake spec
  - bundle exec ohai

language: ruby
cache: bundler
dist: trusty

sudo: false

branches:
  only:
    - master
    - 13-stable

before_install:
  - gem --version
  - rvm @global do gem uninstall bundler -a -x -I || true
  - gem install bundler
  - bundle --version
  - rm -f .bundle/config
rvm:
  - 2.4.4
  - 2.5.1
  - ruby-head

matrix:
  allow_failures:
    - rvm: ruby-head

script:
  - bundle exec chefstyle -v
  - bundle exec chefstyle
  - bundle exec rake spec
  - bundle exec ohai

Test on the latest Ruby releases in Travis
Test on the latest Ruby releases in Travis

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