sudo: false
language: ruby
cache: bundler

addons:
  apt:
    sources:
      - chef-stable-trusty
    packages:
      - chefdk
      - wget
      - unzip
      - ssh

matrix:
  include:
      # WE SUPPORT UPGRADES OF CHEF 11.x on RUBY 1.9.3 VIA chef_client_updater COOKBOOK
    - rvm: 1.9.3
      bundler_args: --without chefstyle functional --jobs=3 --retry=3 --path=${BUNDLE_PATH:-vendor/bundle}
      script:
        - bundle exec rake unit
        - bundle exec rake functional
    - rvm: 2.0
    - rvm: 2.1.10
    - rvm: 2.2.10
    - rvm: 2.3.8
    - rvm: 2.4.5
    - rvm: 2.5.3
    - rvm: ruby-head
  allow_failures:
    - rvm: ruby-head

branches:
  only:
  - master

bundler_args: --without docs development

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

script: bundle exec rake

sudo: false
language: ruby
cache: bundler

addons:
  apt:
    sources:
      - chef-stable-trusty
    packages:
      - chefdk
      - wget
      - unzip
      - ssh

matrix:
  include:
      # WE SUPPORT UPGRADES OF CHEF 11.x on RUBY 1.9.3 VIA chef_client_updater COOKBOOK
    - rvm: 1.9.3
      bundler_args: --without chefstyle functional development docs --jobs=3 --retry=3 --path=${BUNDLE_PATH:-vendor/bundle}
      script:
        - bundle exec rake unit
        - bundle exec rake functional
    - rvm: 2.0
    - rvm: 2.1.10
    - rvm: 2.2.10
    - rvm: 2.3.8
    - rvm: 2.4.5
    - rvm: 2.5.3
    - rvm: ruby-head
  allow_failures:
    - rvm: ruby-head

branches:
  only:
  - master

bundler_args: --without docs development

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

script: bundle exec rake

Exclude additional groups on Ruby 1.9
Exclude additional groups on Ruby 1.9

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