mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-22 22:06:50 +00:00
Fix how we set JRuby env vars
Always set JRUBY_OPTs, just like TravisCI
This commit is contained in:
parent
0c8abf2483
commit
7c2197645d
14
.travis.yml
14
.travis.yml
@ -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:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user