]> review.fuel-infra Code Review - puppet-modules/puppetlabs-apt.git/commitdiff
mocha version update for test hanging issue
authorEric Putnam <putnam.eric@gmail.com>
Wed, 2 Nov 2016 23:00:43 +0000 (16:00 -0700)
committerEric Putnam <putnam.eric@gmail.com>
Wed, 2 Nov 2016 23:00:43 +0000 (16:00 -0700)
.travis.yml
Gemfile

index 72388c20438f26635d529fc32b3d6e6ed2f09310..00e21af1cf15fc7c86816303fdd864870a9c89a5 100644 (file)
@@ -4,6 +4,9 @@ sudo: false
 language: ruby
 cache: bundler
 script: "bundle exec rake validate lint spec"
+#Inserting below due to the following issue: https://github.com/travis-ci/travis-ci/issues/3531#issuecomment-88311203
+before_install:
+  - gem update bundler
 matrix:
   fast_finish: true
   include:
diff --git a/Gemfile b/Gemfile
index 8222ef0a7af80dd54658f155125a2f828c30a831..3abe8bf456027f77b3d24b0891c4f65f8ee86226 100644 (file)
--- a/Gemfile
+++ b/Gemfile
@@ -23,6 +23,7 @@ group :development, :unit_tests do
   gem 'puppetlabs_spec_helper', '>= 1.2.1'
   gem 'rspec-puppet', '>= 2.3.2'
   gem 'rspec-puppet-facts'
+  gem 'mocha', '< 1.2.0'
   gem 'simplecov'
   gem 'parallel_tests', '< 2.10.0' if RUBY_VERSION < '2.0.0'
   gem 'parallel_tests' if RUBY_VERSION >= '2.0.0'
@@ -34,6 +35,7 @@ end
 group :system_tests do
   gem 'beaker', *location_from_env('BEAKER_VERSION', []) if RUBY_VERSION >= '2.3.0'
   gem 'beaker', *location_from_env('BEAKER_VERSION', ['< 3']) if RUBY_VERSION < '2.3.0'
+  gem 'beaker-pe' if RUBY_VERSION >= '2.3.0'
   gem 'beaker-rspec', *location_from_env('BEAKER_RSPEC_VERSION', ['>= 3.4'])
   gem 'serverspec'
   gem 'beaker-puppet_install_helper'