From a07fc5ef771b3647a03e64102892a233ee839c44 Mon Sep 17 00:00:00 2001 From: Eric Putnam Date: Wed, 2 Nov 2016 16:00:43 -0700 Subject: [PATCH] mocha version update for test hanging issue --- .travis.yml | 3 +++ Gemfile | 2 ++ 2 files changed, 5 insertions(+) diff --git a/.travis.yml b/.travis.yml index 72388c2..00e21af 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 8222ef0..3abe8bf 100644 --- 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' -- 2.45.2