sudo: false
language: ruby
cache: bundler

branches:
  only:
  - master

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

bundler_args: --jobs=3 --retry=3 --without changelog

script:
  - bundle exec rake build
  - bundle exec rake spec


matrix:
  include:
    - rvm: 2.4.4
    - rvm: 2.5.1
    - rvm: ruby-head
    - rvm: 2.5.1
      env:
        CHEFSTYLE: 1
      script: bundle exec rake style
  allow_failures:
    - rvm: ruby-head

notifications:
  slack:
    on_failure: always
    on_success: change
    secure: W2QBW06FQcKP8F6VrVJZjhJDZkz46meV0Zuj/AHcexYbGvB9zWE8Vb/U5h7YW5CS1U2y0hKwl1VgdOmLf+SWDZLFLZ5hYcc44VJqQl5XZlaOw4OCeUvp4aluzTl9n4qRh1DTPrvb37iZbA2uMcLlyhiv1jVS8NnNaqqh9Uy/A5A=

sudo: false
language: ruby
cache: bundler

branches:
  only:
  - master

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

bundler_args: --jobs=3 --retry=3 --without changelog

script:
  - bundle exec rake build
  - bundle exec rake spec


matrix:
  include:
    - rvm: 2.4.5
    - rvm: 2.5.3
    - rvm: ruby-head
    - rvm: 2.5.3
      env:
        CHEFSTYLE: 1
      script: bundle exec rake style
  allow_failures:
    - rvm: ruby-head

notifications:
  slack:
    on_failure: always
    on_success: change
    secure: W2QBW06FQcKP8F6VrVJZjhJDZkz46meV0Zuj/AHcexYbGvB9zWE8Vb/U5h7YW5CS1U2y0hKwl1VgdOmLf+SWDZLFLZ5hYcc44VJqQl5XZlaOw4OCeUvp4aluzTl9n4qRh1DTPrvb37iZbA2uMcLlyhiv1jVS8NnNaqqh9Uy/A5A=

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

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