Commit dd2dbbf1 authored by Raphaël Pinson's avatar Raphaël Pinson
Browse files

Exclude vendor directories from tests

parent 1e6a4ae0
language: ruby
sudo: false
cache: bundler
bundler_args: --without system_tests
script: ["bundle exec rake validate", "bundle exec rake lint", "bundle exec fakeroot rake spec SPEC_OPTS='--format documentation'", "bundle exec rake metadata"]
......@@ -4,7 +4,7 @@ group :development, :unit_tests do
gem 'rake', :require => false
gem 'rspec-puppet', :require => false, :git => ''
gem 'puppetlabs_spec_helper', :require => false
gem 'puppet-lint', :require => false
gem 'puppet-lint', '< 1.1.0', :require => false
gem 'simplecov', :require => false
gem 'rspec-puppet-facts', :require => false
gem 'json', :require => false
......@@ -4,7 +4,9 @@ require 'puppet-lint/tasks/puppet-lint'
PuppetLint.configuration.ignore_paths = ["spec/**/*.pp", "pkg/**/*.pp"]
PuppetLint.configuration.ignore_paths = ["spec/**/*.pp", "pkg/**/*.pp", "vendor/**/*.pp"]
PuppetSyntax.exclude_paths = ["spec/fixtures/**/*.pp", "vendor/**/*"]
desc "Lint metadata.json file"
task :metadata do
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment