Fix how we set JRuby env vars

Always set JRUBY_OPTs, just like TravisCI
This commit is contained in:
Benjamin Fleischer 2016-03-09 22:20:56 -06:00
parent 0c8abf2483
commit 7c2197645d

View File

@ -14,9 +14,6 @@ rvm:
jdk:
- oraclejdk8
before_install:
- '[ "$JRUBY_OPTS" != "" ] && export JRUBY_OPTS="--dev -Xcli.debug=true --debug"'
install: bundle install --path=vendor/bundle --retry=3 --jobs=3
cache:
directories:
@ -26,10 +23,13 @@ script:
- bundle exec rake ci
env:
- "RAILS_VERSION=4.0"
- "RAILS_VERSION=4.1"
- "RAILS_VERSION=4.2"
- "RAILS_VERSION=master"
global:
- "JRUBY_OPTS='--dev -J-Xmx1024M'"
matrix:
- "RAILS_VERSION=4.0"
- "RAILS_VERSION=4.1"
- "RAILS_VERSION=4.2"
- "RAILS_VERSION=master"
matrix:
exclude: