sudo: false
language: ruby

matrix:
  include:
    - rvm: 2.4.4
    - rvm: 2.5.1
    - rvm: ruby-head
  allow_failures:
    - rvm: ruby-head
bundler_args: "--jobs 7 --without docs debug"
branches:
  only:
    - 2.0-stable
    - 3.0-stable
    - master
before_install:
  - gem --version
  - rvm @global do gem uninstall bundler -a -x -I || true
  - gem install bundler
  - bundle --version
  - rm -f .bundle/config
before_script:
  - git config --global user.email "clouseau@chef.io"
  - git config --global user.name "Pink Panther"
script: bundle exec rake travis:ci
notifications:
  slack:
    on_change: true
    on_failure: true
    on_success: false
    on_pull_requests: false
    rooms:
      secure: udLCoBl71xJBsW3P+YqZbA5xfaB8l4IIF6SKEXpjIUYNYyP6m77uoY9PZ/M/5EN1ojPXDxsZ6SiPEJifVpkX5Hqd0eu1MwWyRXvOwiDf/nkg2Y3mqwUQRb3LDYWZxPn+xp5mHePe3mvTICR1zH49yx7fdZs8Qvzhh3Lno/w/qZ4=

cache: bundler
language: ruby
dist: xenial

matrix:
  include:
    - rvm: 2.4.5
    - rvm: 2.5.3
    - rvm: 2.6.0
    - rvm: ruby-head
  allow_failures:
    - rvm: ruby-head
bundler_args: "--jobs 7 --without docs debug"
branches:
  only:
    - 2.0-stable
    - 3.0-stable
    - master
before_install:
  - gem --version
  - rvm @global do gem uninstall bundler -a -x -I || true
  - gem install bundler
  - bundle --version
  - rm -f .bundle/config
before_script:
  - git config --global user.email "clouseau@chef.io"
  - git config --global user.name "Pink Panther"
script: bundle exec rake travis:ci
notifications:
  slack:
    on_change: true
    on_failure: true
    on_success: false
    on_pull_requests: false
    rooms:
      secure: udLCoBl71xJBsW3P+YqZbA5xfaB8l4IIF6SKEXpjIUYNYyP6m77uoY9PZ/M/5EN1ojPXDxsZ6SiPEJifVpkX5Hqd0eu1MwWyRXvOwiDf/nkg2Y3mqwUQRb3LDYWZxPn+xp5mHePe3mvTICR1zH49yx7fdZs8Qvzhh3Lno/w/qZ4=

Test on the latest ruby releases in Travis
Test on the latest ruby releases in Travis

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