From 02da3de25b7c4ad23c529f4d280d6b7f812e76d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20Can=C3=A9vet?= Date: Thu, 11 Dec 2014 14:03:58 +0100 Subject: Update with modulesync_configs [skip ci] --- .travis.yml | 6 ++++-- Gemfile | 13 ++++++++++--- Rakefile | 1 + 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index be2b8a5..e387fcd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,14 @@ --- language: ruby -bundler_args: --without development +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"] matrix: fast_finish: true include: - rvm: 1.8.7 - env: PUPPET_GEM_VERSION="~> 3.0" + env: PUPPET_GEM_VERSION="~> 2.7.0" FACTER_GEM_VERSION="~> 1.6.0" + - rvm: 1.8.7 + env: PUPPET_GEM_VERSION="~> 2.7.0" FACTER_GEM_VERSION="~> 1.7.0" - rvm: 1.9.3 env: PUPPET_GEM_VERSION="~> 3.0" - rvm: 2.0.0 diff --git a/Gemfile b/Gemfile index c716faa..cd34bef 100644 --- a/Gemfile +++ b/Gemfile @@ -1,12 +1,19 @@ source ENV['GEM_SOURCE'] || "https://rubygems.org" -group :development, :test do +group :development, :unit_tests do gem 'rake', :require => false - gem 'rspec-puppet', :require => false, :git => 'https://github.com/camptocamp/rspec-puppet.git', :branch => 'future-no-import' + gem 'rspec-puppet', :require => false, :git => 'https://github.com/rodjek/rspec-puppet.git' gem 'puppetlabs_spec_helper', :require => false gem 'puppet-lint', :require => false - gem 'metadata-json-lint', :require => false + gem 'simplecov', :require => false gem 'puppet_facts', :require => false, :git => 'https://github.com/camptocamp/puppet_facts.git' + gem 'json', :require => false + gem 'metadata-json-lint', :require => false +end + +group :system_tests do + gem 'beaker-rspec', :require => false + gem 'serverspec', :require => false end if facterversion = ENV['FACTER_GEM_VERSION'] diff --git a/Rakefile b/Rakefile index 47d75d8..5cf3aa8 100644 --- a/Rakefile +++ b/Rakefile @@ -2,6 +2,7 @@ require 'puppetlabs_spec_helper/rake_tasks' require 'puppet-lint/tasks/puppet-lint' PuppetLint.configuration.fail_on_warnings +PuppetLint.configuration.send('relative') PuppetLint.configuration.send('disable_80chars') PuppetLint.configuration.ignore_paths = ["spec/**/*.pp", "pkg/**/*.pp"] -- cgit v1.2.3