Try using Travis CI

This commit is contained in:
Nate Riffe 2014-12-12 09:27:02 -06:00
parent 48b23e0825
commit 98af3eefa4
3 changed files with 25 additions and 0 deletions

7
.travis.yml Normal file
View File

@ -0,0 +1,7 @@
rvm: 1.9.3
notifications:
email:
- 'inkblot@movealong.org'
env:
- PUPPET_VERSION=3.3.0
- PUPPET_VERSION=3.4.0

3
Gemfile Normal file
View File

@ -0,0 +1,3 @@
source :rubygems
gem 'rake'
gem 'puppet-lint'

15
Rakefile Normal file
View File

@ -0,0 +1,15 @@
require 'puppet-lint/tasks/puppet-lint'
Rake::Task[:lint].clear
PuppetLint::RakeTask.new :lint do |config|
config.fail_on_warnings
config.relative = true
config.ignore_paths = [ 'pkg/**/*.pp' ]
config.disable_checks = [
'80chars',
'class_parameter_defaults',
'documentation'
]
end
task :default => [ :lint ]