---
language: ruby
script: bundle exec rake
rvm:
  - 1.9.3
env:
  - PUPPET_VERSION="~> 3.0.0"
  - PUPPET_VERSION="~> 3.1.0"
  - PUPPET_VERSION="~> 3.2.0"
  - PUPPET_VERSION="~> 3.4.0"
  - PUPPET_VERSION="~> 3.7.3"
  - PUPPET_VERSION=">= 0"
matrix:
  allow_failures:
    - env: PUPPET_VERSION=">= 0"

---
language: ruby
script: bundle exec rake
rvm:
  - 1.9.3
  - 2.1.6
env:
  - PUPPET_VERSION="~> 3.0.0"
  - PUPPET_VERSION="~> 3.1.0"
  - PUPPET_VERSION="~> 3.2.0"
  - PUPPET_VERSION="~> 3.4.0"
  - PUPPET_VERSION="~> 3.7.3"
  - PUPPET_VERSION="~> 4.2.0"
  - PUPPET_VERSION=">= 0"
matrix:
  exclude:
    - rvm: 2.1.6
      env: PUPPET_VERSION="~> 3.1.0"
    - rvm: 2.1.6
      env: PUPPET_VERSION="~> 3.0.0"
  allow_failures:
    - env: PUPPET_VERSION=">= 0"

Add Puppet 4 to the testing matrix
Add Puppet 4 to the testing matrix

This commit adds Puppet 4 to the testing matrix as a required passing
test.

Exclusions have been added on Puppet 3.0 and 3.1 with Ruby 2 as these
versions of Puppet do not yet support Ruby 2.
