diff --git a/.travis.yml b/.travis.yml index 6db23056e..63debe9be 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,8 +8,13 @@ rvm: - 2.2.3 - 2.3.0 - ruby-head + - jruby-9.0.4.0 - rbx-2 +before_install: + - '[ "$JRUBY_OPTS" != "" ] && export JRUBY_OPTS="-Xcompat.version=2.0 --server -Xcompile.invokedynamic=false -Xcli.debug=true --debug"' + - 'echo "JRUBY_OPTS: ''$JRUBY_OPTS''"' + install: bundle install --path=vendor/bundle --retry=3 --jobs=3 cache: directories: @@ -33,8 +38,6 @@ matrix: include: - rvm: 2.2 env: CAPTURE_STDERR=true - - rvm: jruby-9.0.4.0 - env: JRUBY_OPTS='-Xcompat.version=2.0 --server -Xcompile.invokedynamic=false -Xcli.debug=true --debug' allow_failures: - rvm: ruby-head - rvm: rbx-2 diff --git a/appveyor.yml b/appveyor.yml index 17b387ff7..71d43b3b7 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -8,6 +8,8 @@ environment: - ruby_version: "200-x64" - ruby_version: "21" - ruby_version: "21-x64" + - ruby_version: "jruby-9.0.4.0" + cache: - vendor/bundle