language: ruby
cache: bundler

sudo: false

branches:
  only:
    - master

before_install:
  - bundle --version
  - gem --version
rvm:
  - 2.2.10
  - 2.3.7
  - 2.4.4
  - 2.5.1

script:
  - bundle exec chefstyle
  - bundle exec rake spec

sudo: false
language: ruby
cache: bundler

matrix:
  include:
    - 2.2.10
    - 2.3.7
    - 2.4.4
    - 2.5.1
    - rvm: ruby-head
  allow_failures:
    - rvm: ruby-head

branches:
  only:
  - master

bundler_args: --without docs

before_install:
  - gem install bundler
  - bundle --version
  - gem update --system
  - gem --version

script:
  - bundle exec rake

Expand Ruby version testing and use new rake setup
Expand Ruby version testing and use new rake setup

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