diff --git a/.travis.yml b/.travis.yml index 9e6b992..f9fee3c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,6 @@ --- language: ruby +bundler_args: --without system_tests script: "bundle exec rake spec SPEC_OPTS='--format documentation'" after_success: - git clone -q git://github.com/puppetlabs/ghpublisher.git .forge-release diff --git a/Gemfile b/Gemfile index 52315f1..efaf54f 100644 --- a/Gemfile +++ b/Gemfile @@ -3,13 +3,16 @@ source ENV['GEM_SOURCE'] || "https://rubygems.org" group :development, :test do gem 'rake' gem 'puppetlabs_spec_helper', :require => false - gem 'beaker', :require => false - gem 'beaker-rspec', :require => false - gem 'serverspec', :require => false gem 'rspec-puppet', '~> 1.0' gem 'puppet-lint', '~> 1.1' end +group :system_tests do + gem 'beaker', :require => false + gem 'beaker-rspec', :require => false + gem 'serverspec', :require => false +end + if puppetversion = ENV['PUPPET_GEM_VERSION'] gem 'puppet', puppetversion, :require => false else