(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
This commit is contained in:
Samuel 2017-11-28 12:43:45 -06:00 committed by mattkirby
parent 1ff78b4ae2
commit 62643b237f

View file

@ -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"