File tree Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 19
19
- 2.2
20
20
- ruby-head
21
21
- ree
22
- - jruby-18mode
23
- - jruby
24
- - jruby-head
25
22
- rbx
26
23
matrix :
27
24
include :
28
25
- rvm : jruby
29
- env : JRUBY_OPTS='--2.0'
26
+ env : JRUBY_OPTS='--server -Xcompile.invokedynamic=false -Xcompat.version=2.0'
27
+ - rvm : jruby-head
28
+ env : JRUBY_OPTS='--server -Xcompile.invokedynamic=false'
29
+ - rvm : jruby-18mode
30
+ env : JRUBY_OPTS='--server -Xcompile.invokedynamic=false'
31
+ - rvm : jruby
32
+ env : JRUBY_OPTS='--server -Xcompile.invokedynamic=false'
30
33
allow_failures :
31
34
- rvm : jruby-head
35
+ env : JRUBY_OPTS='--server -Xcompile.invokedynamic=false'
32
36
- rvm : ruby-head
33
37
- rvm : rbx
34
38
fast_finish : true
Original file line number Diff line number Diff line change @@ -2,8 +2,9 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
2
2
source $SCRIPT_DIR /travis_functions.sh
3
3
source $SCRIPT_DIR /predicate_functions.sh
4
4
5
- # idea taken from: http://blog.headius.com/2010/03/jruby-startup-time-tips.html
6
- export JRUBY_OPTS=" ${JRUBY_OPTS} -X-C" # disable JIT since these processes are so short lived
5
+ # If JRUBY_OPTS isn't set, use these.
6
+ # see http://docs.travis-ci.com/user/ci-environment/
7
+ export JRUBY_OPTS=${JRUBY_OPTS:- " --server -Xcompile.invokedynamic=false" }
7
8
SPECS_HAVE_RUN_FILE=specs.out
8
9
MAINTENANCE_BRANCH=` cat maintenance-branch`
9
10
You can’t perform that action at this time.
0 commit comments