Skip to content
Permalink
Browse files

Adding Travis CI configuration

  • Loading branch information...
pckls committed Jun 15, 2016
1 parent 386563d commit 17da9f7bc3b02664b770d64db89ade10ca4f4cb9
Showing with 103 additions and 0 deletions.
  1. +7 −0 .gemfile
  2. +96 −0 .travis.yml
@@ -0,0 +1,7 @@
source :rubygems

puppetversion = ENV.key?('PUPPET_VERSION') ? "= #{ENV['PUPPET_VERSION']}" : ['>= 2.7']
gem 'puppet', puppetversion
gem 'puppet-lint', '>= 1.1.0'
gem 'puppetlabs_spec_helper', '>= 0.1.0'
gem 'rspec-puppet', '>= 2.4.0'
@@ -0,0 +1,96 @@
---
language: ruby
branches:
only:
- master
gemfile: .gemfile
notifications:
email: false
rvm:
- 2.1.9
- 2.1.8
- 2.1.7
- 2.1.6
- 1.9.3.551
- 1.9.3.484
env:
- PUPPET_VERSION=4.4.2
- PUPPET_VERSION=4.4.1
- PUPPET_VERSION=4.3.2
- PUPPET_VERSION=4.3.1
- PUPPET_VERSION=4.2.2
- PUPPET_VERSION=4.2.1
- PUPPET_VERSION=3.8.7
- PUPPET_VERSION=3.8.5
- PUPPET_VERSION=3.8.4
- PUPPET_VERSION=3.8.2
- PUPPET_VERSION=3.8.1
- PUPPET_VERSION=3.8.0
- PUPPET_VERSION=3.7.4
- PUPPET_VERSION=3.7.3
- PUPPET_VERSION=3.7.2
matrix:
include:
# https://docs.puppet.com/pe/latest/overview_version_table.html

# PE 2016.1.2
- rvm: 2.1.9
env: PUPPET_VERSION=4.4.2
# PE 2016.1.1
- rvm: 2.1.8
env: PUPPET_VERSION=4.4.1

# PE 2015.3.2 & 2015.3.3
- rvm: 2.1.8
env: PUPPET_VERSION=4.3.2
# PE 2015.3.0 & 2015.3.1
- rvm: 2.1.7
env: PUPPET_VERSION=4.3.1
# PE 2015.2.3
- rvm: 2.1.7
env: PUPPET_VERSION=4.2.3
# PE 2015.2.1 & 2015.2.2
- rvm: 2.1.6
env: PUPPET_VERSION=4.2.2
# PE 2015.2.0
- rvm: 2.1.6
env: PUPPET_VERSION=4.2.1

# PE 3.8.5
- rvm: 2.1.7
env: PUPPET_VERSION=3.8.7
- rvm: 1.9.3.551
env: PUPPET_VERSION=3.8.7
# PE 3.8.4
- rvm: 2.1.7
env: PUPPET_VERSION=3.8.5
- rvm: 1.9.3.551
env: PUPPET_VERSION=3.8.5
# PE 3.8.3 & 3.8.3.1
- rvm: 2.1.7
env: PUPPET_VERSION=3.8.4
- rvm: 1.9.3.551
env: PUPPET_VERSION=3.8.4
# PE 3.8.2 & 3.8.2.1
- rvm: 2.1.6
env: PUPPET_VERSION=3.8.2
- rvm: 1.9.3.551
env: PUPPET_VERSION=3.8.2
# PE 3.8.1
- rvm: 2.1.6
env: PUPPET_VERSION=3.8.1
- rvm: 1.9.3.551
env: PUPPET_VERSION=3.8.1
# PE 3.8.0
- rvm: 1.9.3.551
env: PUPPET_VERSION=3.8.0

# PE 3.7.2
- rvm: 1.9.3.484
env: PUPPET_VERSION=3.7.4
# PE 3.7.1
- rvm: 1.9.3.484
env: PUPPET_VERSION=3.7.3
# PE 3.7.0
- rvm: 1.9.3.484
env: PUPPET_VERSION=3.7.2

0 comments on commit 17da9f7

Please sign in to comment.
You can’t perform that action at this time.