---
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:
  - rvm: 2.1
    env: PUPPET_VERSION="~> 3"
  - rvm: 2.3
    env: PUPPET_VERSION="~> 4"
  # Beaker tests
  - env: BEAKER_set=debian-7-64
    bundler_args: --without development
    script: bundle exec rake beaker
    dist: trusty
    services: docker
    sudo: required
  - env: BEAKER_set=default  # Debian 8
    bundler_args: --without development
    script: bundle exec rake beaker
    dist: trusty
    services: docker
    sudo: required
  - env: BEAKER_set=ubuntu-1204-64
    bundler_args: --without development
    script: bundle exec rake beaker
    dist: trusty
    services: docker
    sudo: required
  - env: BEAKER_set=ubuntu-1404-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:
  - rvm: 2.1
    env: PUPPET_VERSION="~> 3"
  - rvm: 2.3
    env: PUPPET_VERSION="~> 4"
  # Beaker tests
  - env: BEAKER_set=debian-7-64
    bundler_args: --without development
    script: bundle exec rake beaker
    dist: trusty
    services: docker
    sudo: required
  - env: BEAKER_set=default  # Debian 8
    bundler_args: --without development
    script: bundle exec rake beaker
    dist: trusty
    services: docker
    sudo: required
  - env: BEAKER_set=ubuntu-1404-64
    bundler_args: --without development
    script: bundle exec rake beaker
    dist: trusty
    services: docker
    sudo: required

Disable currently broken Ubuntu 12.04 setup
Disable currently broken Ubuntu 12.04 setup

Travis fails with a 403 when trying to fetch the php packages. Given
this will go away soo anyway not worth investing too much effort.
