Revision 3b04f0ab
Added by Michael Moll over 7 years ago
.travis.yml | ||
---|---|---|
- PUPPET_VERSION=4.0 ONLY_OS=centos-7-x86_64,ubuntu-16-x86_64,ubuntu-16.04-x86_64
|
||
- PUPPET_VERSION=3.5 ONLY_OS=centos-7-x86_64,ubuntu-16-x86_64,ubuntu-16.04-x86_64 FUTURE_PARSER=yes TRUSTED_NODE_DATA=yes
|
||
- PUPPET_VERSION=3.5 ONLY_OS=centos-7-x86_64,ubuntu-16-x86_64,ubuntu-16.04-x86_64
|
||
# Test the rest of the supported platforms
|
||
# Test the rest of the supported platforms (Arch only has 4.0+ available in its repos)
|
||
- PUPPET_VERSION=4.0 EXCLUDE_OS=centos-7-x86_64,ubuntu-16-x86_64,ubuntu-16.04-x86_64,scientific-6-x86_64
|
||
- PUPPET_VERSION=3.5 EXCLUDE_OS=centos-7-x86_64,ubuntu-16-x86_64,ubuntu-16.04-x86_64,scientific-6-x86_64 FUTURE_PARSER=yes TRUSTED_NODE_DATA=yes
|
||
- PUPPET_VERSION=3.5 EXCLUDE_OS=centos-7-x86_64,ubuntu-16-x86_64,ubuntu-16.04-x86_64,scientific-6-x86_64
|
||
- PUPPET_VERSION=3.5 EXCLUDE_OS=centos-7-x86_64,ubuntu-16-x86_64,ubuntu-16.04-x86_64,scientific-6-x86_64,archlinux-3-x86_64 FUTURE_PARSER=yes TRUSTED_NODE_DATA=yes
|
||
- PUPPET_VERSION=3.5 EXCLUDE_OS=centos-7-x86_64,ubuntu-16-x86_64,ubuntu-16.04-x86_64,scientific-6-x86_64,archlinux-3-x86_64
|
||
matrix:
|
||
fast_finish: true
|
||
include:
|
Gemfile | ||
---|---|---|
gem 'json', '~> 1.0', {"platforms"=>["ruby_19"], "groups"=>["test"]}
|
||
gem 'json_pure', '~> 1.0', {"platforms"=>["ruby_19"], "groups"=>["test"]}
|
||
gem 'metadata-json-lint'
|
||
gem 'kafo_module_lint'
|
||
|
||
# vim:ft=ruby
|
Rakefile | ||
---|---|---|
PuppetLint.configuration.ignore_paths = ["spec/**/*.pp", "pkg/**/*.pp", "vendor/**/*.pp"]
|
||
PuppetLint.configuration.log_format = '%{path}:%{linenumber}:%{KIND}: %{message}'
|
||
|
||
# Used for type alias tests
|
||
PuppetSyntax.exclude_paths << 'spec/static_fixtures/test_module/**/*.pp' if Puppet.version.to_f < 4.0
|
||
|
||
require 'puppet-lint-param-docs/tasks'
|
||
PuppetLintParamDocs.define_selective do |config|
|
||
config.pattern = []
|
||
end
|
||
|
||
require 'kafo_module_lint/tasks'
|
||
KafoModuleLint::RakeTask.new do |config|
|
||
config.pattern = []
|
||
end
|
||
|
||
task :default => [:validate, :lint, :spec]
|
Also available in: Unified diff
modulesync