From 2db6d4d779bac0d369e8b262090c0e8cddbccb73 Mon Sep 17 00:00:00 2001 From: MSP-Greg Date: Sun, 2 Dec 2018 11:02:43 -0600 Subject: [PATCH 1/2] update travis rubies - 2.3.8, 2.4.5, 2.5.3 --- .travis.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 13a03168..1b3d06a3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,9 +10,9 @@ before_install: rvm: - 2.2.10 - - 2.3.7 - - 2.4.4 - - 2.5.1 + - 2.3.8 + - 2.4.5 + - 2.5.3 - ruby-head - jruby-9.2.0.0 @@ -21,9 +21,9 @@ matrix: include: - rvm: ruby-head env: RUBYOPT="--jit" - - rvm: 2.3.7 + - rvm: 2.3.8 os: osx - - rvm: 2.5 + - rvm: 2.5.3 os: osx - rvm: jruby-head - rvm: rbx-3 From 7915afc340575ec3e90746884f7251b7d1554af8 Mon Sep 17 00:00:00 2001 From: MSP-Greg Date: Wed, 19 Dec 2018 22:35:27 -0600 Subject: [PATCH 2/2] update for RubyGems 3.0 --- .travis.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1b3d06a3..b161c9ed 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,10 +3,15 @@ sudo: false group: beta language: ruby cache: bundler + before_install: - # https://github.com/travis-ci/travis-ci/issues/9383#issuecomment-377680108 - # recent versions of RubyGems include bundler - - gem update --system + # rubygems 2.7.8 and greater include bundler + - | + rv="$(ruby -e 'STDOUT.write RUBY_VERSION')"; + if [ "$rv" \< "2.3" ]; then gem update --system 2.7.8 --no-document + elif [ "$rv" \< "2.6" ]; then gem update --system --no-document --conservative + fi + - ruby -v && gem --version && bundle version rvm: - 2.2.10