---
sudo: false
language: ruby
cache: bundler
bundler_args: --without development system_tests
before_install: rm Gemfile.lock || true
script: bundle exec rake test SPEC_OPTS='--format documentation'
matrix:
  fast_finish: true
  include:
  # Puppet 3
  - rvm: 1.9.3
    env: PUPPET_VERSION="~> 3"
  - rvm: 2.0
    env: PUPPET_VERSION="~> 3"
  - rvm: 2.1
    env: PUPPET_VERSION="~> 3"
  # Pupppet 4
  - rvm: 2.1
    env: PUPPET_VERSION="~> 4"
  - rvm: 2.2
    env: PUPPET_VERSION="~> 4"
  - rvm: 2.3
    env: PUPPET_VERSION="~> 4"
  # Beaker tests
  - rvm: 2.2
    env: BEAKER_set=debian-7-64
    bundler_args: --without development
    script: bundle exec rake beaker
    dist: trusty
    services: docker
    sudo: required

---
sudo: false
language: ruby
cache: bundler
bundler_args: --without development system_tests
before_install: rm Gemfile.lock || true
script: bundle exec rake test SPEC_OPTS='--format documentation'
matrix:
  fast_finish: true
  include:
  # Puppet 3
  - rvm: 1.9.3
    env: PUPPET_VERSION="~> 3"
  - rvm: 2.0
    env: PUPPET_VERSION="~> 3"
  - rvm: 2.1
    env: PUPPET_VERSION="~> 3"
  # Pupppet 4
  - rvm: 2.1
    env: PUPPET_VERSION="~> 4"
  - rvm: 2.2
    env: PUPPET_VERSION="~> 4"
  - rvm: ruby-head
    env: PUPPET_VERSION="~> 4"
  # Beaker tests
  - rvm: 2.2
    env: BEAKER_set=debian-7-64
    bundler_args: --without development
    script: bundle exec rake beaker
    dist: trusty
    services: docker
    sudo: required

Use the latest ruby as a canary
Use the latest ruby as a canary
