From 62643b237f5b2712870a2e6479b6902e28129985 Mon Sep 17 00:00:00 2001 From: Samuel Date: Tue, 28 Nov 2017 12:43:45 -0600 Subject: [PATCH] (POOLER-96) Setting the Rubygems version (#246) * (POOLER-96) Setting the Rubygems version travis uses the latest bundler 1.16 which installs the newer rubygems and I think that might be why it's failing now when downgrading only bundler to version 1.12 This is a test to see if travis will pass. * also update bundler to 1.15.4 * Update .travis.yml * update jruby to 1.7.13 * print bundle version * specify bundler version 1.15.4 --- .travis.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 43c7eb2..100ea5a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,7 +18,7 @@ matrix: - rvm: 2.3.3 env: "CHECK=test" - - rvm: jruby-1.7.8 + - rvm: jruby-1.7.13 env: "CHECK=test" # Remove the allow_failures section once @@ -27,12 +27,11 @@ matrix: - rvm: 2.3.3 env: "CHECK=rubocop" -# This below is a temporary shim to bypass these bundler+jruby bugs: -# -# https://github.com/bundler/bundler/issues/4975 -# https://github.com/bundler/bundler/issues/4984 +# Pin to specific rubygem and bundler for jruby tests install: - - gem install bundler --version 1.12.5 - - bundle _1.12.5_ install --jobs=3 --retry=3 --path=${BUNDLE_PATH:-vendor/bundle} + - gem update --system 2.6.14 + - gem install bundler --version 1.15.4 + - bundle _1.15.4_ --version + - bundle _1.15.4_ install --jobs=3 --retry=3 --path=${BUNDLE_PATH:-vendor/bundle} script: - - "bundle _1.12.5_ exec rake $CHECK" + - "bundle _1.15.4_ exec rake $CHECK"