From: Eric Putnam Date: Wed, 2 Nov 2016 23:00:53 +0000 (-0700) Subject: mocha version update for test hanging issue X-Git-Tag: 1.8.2~20 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=5cc292d32541e0db682116cbfa48bb4e7a61d020;p=puppet-modules%2Fpuppetlabs-firewall.git mocha version update for test hanging issue --- diff --git a/.travis.yml b/.travis.yml index fa41597..912d2b0 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'