Skip to content
Snippets Groups Projects
Unverified Commit e964b88c authored by Thomas Linkin's avatar Thomas Linkin Committed by GitHub
Browse files

Merge pull request #33 from trevor-vaughan/puppet-6-support

Add Puppet 6 Support
parents 8cc6c14f e9df44ac
Branches
Tags 2.1.1
No related merge requests found
---
stages:
- test_2.4.1
- test_2.5.1
- test_2.4.5
- test_2.1.9
before_script:
......@@ -12,29 +13,57 @@ before_script:
- bundle -v
- bundle install --without system_tests
rubocop-2.4.1:
stage: test_2.4.1
image: ruby:2.4.1
rubocop-2.5.1:
stage: test_2.5.1
image: ruby:2.5.1
script:
- bundle exec rake rubocop
syntax-2.4.1:
stage: test_2.4.1
image: ruby:2.4.1
syntax-2.5.1:
stage: test_2.5.1
image: ruby:2.5.1
script:
- bundle exec rake syntax lint
metadata-2.4.1:
stage: test_2.4.1
image: ruby:2.4.1
metadata-2.5.1:
stage: test_2.5.1
image: ruby:2.5.1
script:
- bundle exec rake metadata_lint
rspec-puppet-2.4.1:
stage: test_2.4.1
image: ruby:2.4.1
rspec-puppet-2.5.1:
stage: test_2.5.1
image: ruby:2.5.1
variables:
PUPPET_GEM_VERSION: ~> 4.0
PUPPET_GEM_VERSION: ~> 6.0
CHECK: spec
script:
- bundle update
- bundle exec rake $CHECK
rubocop-2.4.5:
stage: test_2.4.5
image: ruby:2.4.5
script:
- bundle exec rake rubocop
syntax-2.4.5:
stage: test_2.4.5
image: ruby:2.4.5
script:
- bundle exec rake syntax lint
metadata-2.4.5:
stage: test_2.4.5
image: ruby:2.4.5
script:
- bundle exec rake metadata_lint
rspec-puppet-2.4.5:
stage: test_2.4.5
image: ruby:2.4.5
variables:
PUPPET_GEM_VERSION: ~> 5.0
CHECK: spec
script:
- bundle update
......
2.1.2
2.3
---
sudo: false
dist: trusty
language: ruby
cache: bundler
before_install:
- bundle -v
- rm Gemfile.lock || true
- gem update --system
- gem update bundler
- gem --version
- bundle -v
......@@ -14,7 +12,7 @@ script:
- 'bundle exec rake $CHECK'
bundler_args: --without system_tests
rvm:
- 2.4.1
- 2.4.5
env:
- PUPPET_GEM_VERSION="~> 5.0" CHECK=spec
matrix:
......@@ -31,6 +29,9 @@ matrix:
-
env: PUPPET_GEM_VERSION="~> 4.0" CHECK=spec
rvm: 2.1.9
-
env: PUPPET_GEM_VERSION="~> 6.0" CHECK=spec
rvm: 2.5.1
branches:
only:
- master
......
......@@ -35,6 +35,14 @@ environment:
PUPPET_GEM_VERSION: ~> 5.0
RUBY_VERSION: 24-x64
CHECK: spec
-
PUPPET_GEM_VERSION: ~> 6.0
RUBY_VERSION: 25
CHECK: spec
-
PUPPET_GEM_VERSION: ~> 6.0
RUBY_VERSION: 25-x64
CHECK: spec
matrix:
fast_finish: true
install:
......
{
"name": "trlinkin-nsswitch",
"version": "2.1.0",
"version": "2.1.1",
"author": "Thomas Linkin",
"summary": "Module for managing nsswitch.conf",
"license": "Apache-2.0",
......@@ -129,7 +129,7 @@
"requirements": [
{
"name": "puppet",
"version_requirement": ">= 4.0.0 < 6.0.0"
"version_requirement": ">= 4.0.0 < 7.0.0"
}
],
"tags": [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment