From 893c4328e231ec49e601244e69acf088f090a0c2 Mon Sep 17 00:00:00 2001 From: Ry Biesemeyer Date: Sun, 20 Jan 2019 15:56:30 +0000 Subject: [PATCH] debug travis jvm picker vs commands in before_install hook --- .travis.yml | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index c736a1e..4b31e47 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,18 +1,9 @@ os: - linux - - osx rvm: - - 1.9.3 - jruby-9.1.9.0 - - rbx-3 - - 2.0.0 - - 2.1 - - 2.2 - - 2.3 - - 2.4 - 2.5 - - ruby-head sudo: false @@ -24,6 +15,9 @@ before_install: - ruby -e "system('gem update --system') if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('2.3')" - gem install bundler --version '~> 1.17' +before_script: + - 'export JAVA_OPTS="${JAVA_OPTS_FOR_SPECS}"' + env: global: matrix: @@ -38,8 +32,8 @@ matrix: - env: "CHILDPROCESS_POSIX_SPAWN=true" include: - rvm: jruby-9.2.5.0 - jvm: openjdk11 - env: "JAVA_OPTS='--add-opens java.base/java.io=org.jruby.dist --add-opens java.base/sun.nio.ch=org.jruby.dist'" + jdk: openjdk11 + env: "JAVA_OPTS_FOR_SPECS='--add-opens java.base/java.io=org.jruby.dist --add-opens java.base/sun.nio.ch=org.jruby.dist'" exclude: # Travis does not provide 1.9.3 on OSX - rvm: 1.9.3