sudo: false
language: ruby
bundler_args: "--without development"
script:
- echo travis_fold:start:DEBUG
- cat Gemfile.lock
- bundle list
- echo travis_fold:end:DEBUG
- bundle exec rake $CHECK
cache: bundler
branches:
except:
- release-prep
matrix:
include:
- rvm: 2.4.3
env: PUPPET_GEM_VERSION='~> 5' SIMPLECOV=yes # 5.5
- env: RVM="jruby-1.7.26" PUPPET_GEM_VERSION='~> 5' JRUBY_OPTS="--debug" SIMPLECOV=yes
before_cache: pushd ~/.rvm && rm -rf archives rubies/ruby-2.2.7 rubies/ruby-2.3.4 && popd
cache:
bundler: true
directories: ~/.rvm
before_install: rvm use jruby-1.7.26 --install --binary --fuzzy && gem install bundler -v '~> 1.7.0'
# disable coverage on jruby9k as this confuses codecov
- env: RVM="jruby-9.1.9.0" PUPPET_GEM_VERSION='~> 5' JRUBY_OPTS="--debug"
before_cache: pushd ~/.rvm && rm -rf archives rubies/ruby-2.2.7 rubies/ruby-2.3.4 && popd
cache:
bundler: true
directories: ~/.rvm
before_install: rvm use jruby-9.1.9.0 --install --binary --fuzzy
- rvm: 2.5.1
env: CHECK=rubocop
- rvm: 2.5.1
env: CHECK=license_finder
bundler_args: ""
- rvm: 2.4.3
env: PUPPET_GEM_VERSION='~> 5.4.0'
- rvm: 2.4.2
env: PUPPET_GEM_VERSION='~> 5.3.0'
- rvm: 2.4.1
env: PUPPET_GEM_VERSION='~> 5.2.0'
- rvm: 2.4.1
env: PUPPET_GEM_VERSION='~> 5.1.0'
- rvm: 2.4.1
env: PUPPET_GEM_VERSION='~> 5.0.0'
- rvm: 2.1.9
env: PUPPET_GEM_VERSION='~> 4' SIMPLECOV=yes # 4.10
- rvm: 2.1.9
env: PUPPET_GEM_VERSION='~> 4.9.0'
- rvm: 2.1.9
env: PUPPET_GEM_VERSION='~> 4.8.0'
- rvm: 2.1.9
env: PUPPET_GEM_VERSION='~> 4.7.0'
- rvm: 2.5.1
env: PUPPET_GEM_VERSION='~> 6' # 6.0, soon 6.1
- rvm: 2.5.1
env: PUPPET_GEM_VERSION='~> 6.0'
- rvm: 2.5.1
env: PUPPET_GEM_VERSION='https://github.com/puppetlabs/puppet.git#master'
- rvm: 2.5.1
env: PUPPET_GEM_VERSION='https://github.com/puppetlabs/puppet.git#6.0.x'
- rvm: 2.4.3
env: PUPPET_GEM_VERSION='https://github.com/puppetlabs/puppet.git#5.5.x'
- rvm: 2.1.9
env: PUPPET_GEM_VERSION='https://github.com/puppetlabs/puppet.git#4.10.x'
notifications:
hipchat:
rooms:
secure: 10a49kkZcghKHNnef8x7eBG+KjScL3i1VpygFg6DPAOK2YNbEoyEx1Kv9KLC7GSRYov/SQZOsZrvHZtDhEtFSKhhiAjOwxl1jV1t6aAMGMnN1IoZBOvdAJKrZsm54/bBeYp+je2wqnnoFNtLVFSoOX0LkFaDEWT+zGZ5xKJIH25GpeQEZf1eDxs/d8YX/m+RwbGXHVA//hOpvZo0ntvznh2EbW5OPODKSeUXbWZ+W4ndODTsKWFc/WLMSSgFDzW/Y2/9V40D4IC8lvSx6eKFryMfAQy6pO/d1aTB468awzyVcdYAMMCOITm7hlKGRKxNgq6NkOsXs5KLg6ifpn+a/Rhapbz6Qxbpjjho/7Wxngl4B3T+i35ap/mFrS/fOfKCq3gEQlYn29its9bEFArNGbr+/sXKABb+sRpgW4RTPWYDHJyHJendbevd5tZ+fd0JUBOi0Cb4PcXxQxM8IQrbuu2zso0K5MV05kL0S1DE/VsuUrPaK0RsF+b1+i6NfvtN8kgbYs1eiVku+guIG2ec3xIefQ1hsEOFPFNqSDfHp7nANnRVIbBCt8qw8DhmNEczsfN5Dp21euJUsO9qpau++NzD3jRhkE5Zki5cwsakU7hIQzw82BIb0eSQJCHygieExeEboWRqtDgy/IKIWPgIvEuU68ppR2bl2reKCHLCnWc=
template:
- '%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message}
(Details | PR/Diff)'
format: html