Skip to content

Commit

Permalink
Remove puppet 3 from travis and add Puppet 5 to travis
Browse files Browse the repository at this point in the history
  • Loading branch information
rendhalver committed Aug 13, 2017
1 parent c105b45 commit 8e5550b
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 18 deletions.
26 changes: 17 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,30 @@ language: ruby
sudo: false
bundler_args: --without development
before_install: rm Gemfile.lock || true
script: bundle exec rake test
script: bundle exec rake $CHECK
matrix:
fast_finish: true
include:
- rvm: 2.1.9
env: PUPPET_GEM_VERSION="~> 3.8.5" FACTER_GEM_VERSION="~> 2.4" HIERA_GEM_VERSION="~> 1.3" FUTURE_PARSER="yes"
env: PUPPET_GEM_VERSION="~> 4.5.0" FACTER_GEM_VERSION="~> 2.4" HIERA_GEM_VERSION="~> 3.3.0" CHECK=test
- rvm: 2.1.9
env: PUPPET_GEM_VERSION="~> 4.5.0" FACTER_GEM_VERSION="~> 2.4" HIERA_GEM_VERSION="~> 3.3.0"
env: PUPPET_GEM_VERSION="~> 4.7.0" FACTER_GEM_VERSION="~> 2.4" HIERA_GEM_VERSION="~> 3.3.0" CHECK=test
- rvm: 2.1.9
env: PUPPET_GEM_VERSION="~> 4.7.0" FACTER_GEM_VERSION="~> 2.4" HIERA_GEM_VERSION="~> 3.3.0"
env: PUPPET_GEM_VERSION="~> 4.8.0" FACTER_GEM_VERSION="~> 2.4" HIERA_GEM_VERSION="~> 3.3.0" CHECK=test
- rvm: 2.1.9
env: PUPPET_GEM_VERSION="~> 4.8.0" FACTER_GEM_VERSION="~> 2.4" HIERA_GEM_VERSION="~> 3.3.0"
env: PUPPET_GEM_VERSION="~> 4.9.0" FACTER_GEM_VERSION="~> 2.4" HIERA_GEM_VERSION="~> 3.3.0" CHECK=test
- rvm: 2.1.9
env: PUPPET_GEM_VERSION="~> 4.9.0" FACTER_GEM_VERSION="~> 2.4" HIERA_GEM_VERSION="~> 3.3.0"
env: PUPPET_GEM_VERSION="~> 4.10.0" FACTER_GEM_VERSION="~> 2.4" HIERA_GEM_VERSION="~> 3.3.0" CHECK=test
- rvm: 2.1.9
env: PUPPET_GEM_VERSION="~> 4.10.4" FACTER_GEM_VERSION="~> 2.4" HIERA_GEM_VERSION="~> 3.3.0"

env: PUPPET_GEM_VERSION="~> 4.10.0" FACTER_GEM_VERSION="~> 2.4" HIERA_GEM_VERSION="~> 3.3.0" CHECK=build DEPLOY_TO_FORGE=yes
- rvm: 2.4.1
env: PUPPET_GEM_VERSION="~> 5.0.0" FACTER_GEM_VERSION="~> 2.4" HIERA_GEM_VERSION="~> 3.3.0" CHECK=test
branches:
only:
- production
- /^\d/
notifications:
email: false
deploy:
provider: puppetforge
user: abstractit
Expand All @@ -29,5 +36,6 @@ deploy:
# all_branches is required to use tags
all_branches: true
rvm: 2.1.9
# Only publish the build marked with "DEPLOY_TO_FORGE"
condition:
- $PUPPET_GEM_VERSION = '4.10.4'
- $DEPLOY_TO_FORGE = "yes"
12 changes: 3 additions & 9 deletions metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
{
"operatingsystem": "Ubuntu",
"operatingsystemrelease": [
"12.04",
"14.04"
"14.04",
"16.04"
]
},
{
Expand All @@ -26,15 +26,13 @@
{
"operatingsystem": "CentOS",
"operatingsystemrelease": [
"5",
"6",
"7"
]
},
{
"operatingsystem": "RedHat",
"operatingsystemrelease": [
"5",
"6",
"7"
]
Expand All @@ -43,14 +41,10 @@
"requirements": [
{
"name": "puppet",
"version_requirement": ">=4.0.0 <5.0.0"
"version_requirement": ">=4.0.0 <6.0.0"
}
],
"dependencies": [
{
"name": "puppetlabs/apache",
"version_requirement": ">=1.4.0 <2.0.0"
},
{
"name": "puppetlabs/stdlib",
"version_requirement": ">=4.6.0 <5.0.0"
Expand Down

0 comments on commit 8e5550b

Please sign in to comment.