---
sudo: false
language: ruby
before_install:
  - echo "yes" | gem install json
bundler_args: --without system_tests
script: "bundle exec rake validate lint spec SPEC_OPTS='--color --format documentation'"
matrix:
  fast_finish: true
  include:
  - rvm: 1.9.3
    env: PUPPET_GEM_VERSION="~> 3.0"
  - rvm: 2.1.5
    env: PUPPET_GEM_VERSION="~> 3.0"
  - rvm: 2.1.5
    env: PUPPET_GEM_VERSION="~> 3.0" FUTURE_PARSER="yes"
  - rvm: 2.1.6
    env: PUPPET_GEM_VERSION="~> 4.0" STRICT_VARIABLES="yes"

---
sudo: false
language: ruby
before_install:
  - echo "yes" | gem install json
bundler_args: --without system_tests
script: "bundle exec rake validate lint spec SPEC_OPTS='--color --format documentation'"
matrix:
  fast_finish: true
  include:
  - rvm: 1.9.3
    env: PUPPET_GEM_VERSION="~> 3.0"
  - rvm: 2.1.5
    env: PUPPET_GEM_VERSION="~> 3.0"
  - rvm: 2.1.5
    env: PUPPET_GEM_VERSION="~> 3.0" FUTURE_PARSER="yes"
  - rvm: 2.1.6
    env: PUPPET_GEM_VERSION="~> 4.0"

Fix specs by removing STRICT_VARIABLES=true
Fix specs by removing STRICT_VARIABLES=true

Puppet 4 deprecated the ipaddress_eth0 fact, and moved it to
$facts['networking']['interfaces']['eth0']['ip']. Facter will still
resolve it at runtime, but STRICT_VARIABLES sees it as being gone, so to
continue to satisfy backwards compatibility, we should remove
STRICT_VARIABLES from the test run.
