From 8174a4a0f95b8f35ea42595d9d4d88debf492521 Mon Sep 17 00:00:00 2001 From: James Coglan Date: Thu, 14 May 2020 23:14:29 +0100 Subject: [PATCH] Test on JRuby 9.{0,1,2} rather than "head" --- .travis.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9a1c45f..e45546d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,4 @@ sudo: false -dist: trusty language: ruby rvm: @@ -13,10 +12,12 @@ rvm: - 2.6.6 - 2.7.1 - jruby-19mode - - jruby-head + - jruby-9.0 + - jruby-9.1 + - jruby-9.2 before_install: - - '[[ "$(ruby --version)" == *"1.9.3"* ]] && gem update --system 2.4.8 || true' + - '[[ "$(ruby --version)" != *"1.9.3"* ]] || gem update --system 2.4.8' script: - - bundle exec rspec -c spec + - bundle exec rspec