---
language: ruby
bundler_args: --without development
before_install: rm Gemfile.lock || true
sudo: false
cache: bundler
rvm:
  - 1.9
  - 2.0
  - 2.1
script: bundle exec rake test
env:
  - PUPPET_VERSION="~> 3.8.4"
  - PUPPET_VERSION="~> 3.8.4" FUTURE_PARSER=yes STRICT_VARIABLES=yes
  - PUPPET_VERSION="~> 4.1.0"
matrix:
  exclude:
  - rvm: 2.1
    env: PUPPET_VERSION="~> 3.4.0"
  - rvm: 1.9
    env: PUPPET_VERSION="~> 4.1.0"
  - rvm: 2.0
    env: PUPPET_VERSION="~> 4.1.0"

---
language: ruby
bundler_args: --without development --full-index
before_install: rm Gemfile.lock || true
sudo: false
cache: bundler
rvm:
  - 1.9
  - 2.0
  - 2.1
script: bundle exec rake test
env:
  - PUPPET_VERSION="~> 3.8.4"
  - PUPPET_VERSION="~> 3.8.4" FUTURE_PARSER=yes STRICT_VARIABLES=yes
  - PUPPET_VERSION="~> 4.1.0"
matrix:
  exclude:
  - rvm: 2.1
    env: PUPPET_VERSION="~> 3.4.0"
  - rvm: 1.9
    env: PUPPET_VERSION="~> 4.1.0"
  - rvm: 2.0
    env: PUPPET_VERSION="~> 4.1.0"

Use --full-index during bundle install
Use --full-index during bundle install

$ bundle install --without development --path=${BUNDLE_PATH:-vendor/bundle}
Fetching gem metadata from https://rubygems.org/...Retrying dependency
api due to error (2/3): Bundler::HTTPError Net::HTTPClientError: Too
many gems! (use --full-index instead)
Retrying dependency api due to error (3/3): Bundler::HTTPError
Net::HTTPClientError: Too many gems! (use --full-index instead)
