Skip to content

Commit 7c21976

Browse files
committed
Fix how we set JRuby env vars
Always set JRUBY_OPTs, just like TravisCI
1 parent 0c8abf2 commit 7c21976

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.travis.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ rvm:
1414
jdk:
1515
- oraclejdk8
1616

17-
before_install:
18-
- '[ "$JRUBY_OPTS" != "" ] && export JRUBY_OPTS="--dev -Xcli.debug=true --debug"'
19-
2017
install: bundle install --path=vendor/bundle --retry=3 --jobs=3
2118
cache:
2219
directories:
@@ -26,10 +23,13 @@ script:
2623
- bundle exec rake ci
2724

2825
env:
29-
- "RAILS_VERSION=4.0"
30-
- "RAILS_VERSION=4.1"
31-
- "RAILS_VERSION=4.2"
32-
- "RAILS_VERSION=master"
26+
global:
27+
- "JRUBY_OPTS='--dev -J-Xmx1024M'"
28+
matrix:
29+
- "RAILS_VERSION=4.0"
30+
- "RAILS_VERSION=4.1"
31+
- "RAILS_VERSION=4.2"
32+
- "RAILS_VERSION=master"
3333

3434
matrix:
3535
exclude:

0 commit comments

Comments
 (0)