Skip to content

Commit

Permalink
First attempt to Lint/Syntax Check.
Browse files Browse the repository at this point in the history
  • Loading branch information
Francis J.. Van Wetering IV committed Sep 8, 2015
1 parent c08e40f commit b4ab27e
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
rvm: 1.8.7
notifications:
email: false
env:
- PUPPET_VERSION=3.8.2
- PUPPET_VERSION=4.2.1
- PUPPET_VERSION=2.6.18
- PUPPET_VERSION=2.7.26
script:
- puppet-lint --no-80chars-check .
- puppet parser validate .
9 changes: 9 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
source :rubygems
if ENV.key?('PUPPET_VERSION')
puppetversion = "= #{ENV['PUPPET_VERSION']}"
else
puppetversion = ['>= 2.7']
end

gem 'puppet-lint'
gem 'puppet', puppetversion

0 comments on commit b4ab27e

Please sign in to comment.