Merge pull request #247 from puppetlabs/modulesync_updates
authorTravis Fields <cyberious@users.noreply.github.com>
Thu, 7 May 2015 19:00:17 +0000 (12:00 -0700)
committerTravis Fields <cyberious@users.noreply.github.com>
Thu, 7 May 2015 19:00:17 +0000 (12:00 -0700)
Modulesync updates

.travis.yml
Gemfile

index 0fc75e3..291ceb3 100644 (file)
@@ -6,19 +6,13 @@ script: "bundle exec rake spec SPEC_OPTS='--format documentation'"
 matrix:
   fast_finish: true
   include:
-  - rvm: 1.9.3
-    env: PUPPET_GEM_VERSION="~> 3.4.0"
   - rvm: 1.8.7
     env: PUPPET_GEM_VERSION="~> 3.0"
   - rvm: 1.9.3
     env: PUPPET_GEM_VERSION="~> 3.0"
-  - rvm: 1.9.3
-    env: PUPPET_GEM_VERSION="~> 3.0" FUTURE_PARSER="yes"
   - rvm: 2.1.5
     env: PUPPET_GEM_VERSION="~> 3.0"
   - rvm: 2.1.5
-    env: PUPPET_GEM_VERSION="~> 3.4.0"
-  - rvm: 2.1.5
     env: PUPPET_GEM_VERSION="~> 3.0" FUTURE_PARSER="yes"
   - rvm: 1.8.7
     env: PUPPET_GEM_VERSION="~> 2.7.0" FACTER_GEM_VERSION="~> 1.6.0"
diff --git a/Gemfile b/Gemfile
index fcd27d5..2b1b7cd 100644 (file)
--- a/Gemfile
+++ b/Gemfile
@@ -18,13 +18,11 @@ group :development, :unit_tests do
   gem 'json',                    :require => false
 end
 
-beaker_version = ENV['BEAKER_VERSION']
-beaker_rspec_version = ENV['BEAKER_RSPEC_VERSION']
 group :system_tests do
-  if beaker_version
+  if beaker_version = ENV['BEAKER_VERSION']
     gem 'beaker', *location_for(beaker_version)
   end
-  if beaker_rspec_version
+  if beaker_rspec_version = ENV['BEAKER_RSPEC_VERSION']
     gem 'beaker-rspec', *location_for(beaker_rspec_version)
   else
     gem 'beaker-rspec',  :require => false
@@ -32,6 +30,8 @@ group :system_tests do
   gem 'serverspec',    :require => false
 end
 
+
+
 if facterversion = ENV['FACTER_GEM_VERSION']
   gem 'facter', facterversion, :require => false
 else