Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit 8aa73ae

Browse files
committed
Setting JRUBY_OPTS without cext.enabled or --2.0
https://travis-ci.org/rspec/rspec-support/jobs/45770207#L544 See travis-ci/travis-ci#3067 Per http://docs.travis-ci.com/user/ci-environment/ Use -Xcompat.version=2.0 per `jruby --properties` as `--2.0` wasn't being respected Note that script/functions.sh declares # idea taken from: http://blog.headius.com/2010/03/jruby-startup-time-tips.html export JRUBY_OPTS="${JRUBY_OPTS} -X-C" # disable JIT since these processes are so short lived
1 parent d3a95df commit 8aa73ae

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.travis.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,24 @@ rvm:
2222
- 2.2
2323
- ruby-head
2424
- ree
25-
- jruby-18mode
26-
- jruby
27-
- jruby-head
2825
- rbx
2926
matrix:
3027
include:
3128
- rvm: jruby
32-
env: JRUBY_OPTS='--2.0'
33-
allow_failures:
29+
env: JRUBY_OPTS='--server -Xcompile.invokedynamic=false -Xcompat.version=2.0'
3430
- rvm: jruby-head
31+
env: JRUBY_OPTS='--server -Xcompile.invokedynamic=false'
32+
# These two are temporary until https://github.com/travis-ci/travis-ci/issues/3067 is solved.
33+
- rvm: jruby-18mode
34+
env: JRUBY_OPTS='--server -Xcompile.invokedynamic=false'
35+
- rvm: jruby
36+
env: JRUBY_OPTS='--server -Xcompile.invokedynamic=false'
37+
allow_failures:
3538
- rvm: ruby-head
3639
- rvm: rbx
3740
# These two are temporary until https://github.com/travis-ci/travis-ci/issues/3067 is solved.
3841
- rvm: jruby-18mode
42+
env: JRUBY_OPTS='--server -Xcompile.invokedynamic=false'
3943
- rvm: jruby
44+
env: JRUBY_OPTS='--server -Xcompile.invokedynamic=false'
4045
fast_finish: true

0 commit comments

Comments
 (0)