diff options
author | Benjamin Fleischer <github@benjaminfleischer.com> | 2016-02-05 11:31:18 -0600 |
---|---|---|
committer | Benjamin Fleischer <github@benjaminfleischer.com> | 2016-03-30 02:11:45 -0500 |
commit | 30279704646fff33e64c71ee3c4de34bf75232c4 (patch) | |
tree | 6ee2c941bf9a0ac2984cece36dc6758828982cd5 /.travis.yml | |
parent | 4232f7ee427a510eb07e420f5883611bcb0abfae (diff) | |
download | rails-30279704646fff33e64c71ee3c4de34bf75232c4.tar.gz rails-30279704646fff33e64c71ee3c4de34bf75232c4.tar.bz2 rails-30279704646fff33e64c71ee3c4de34bf75232c4.zip |
Run latest precompiled JRuby on CI only against ActionPack
Uses latest precompiled JRuby so that
we don't spend time downloading versions Travis has
not already compiled. http://rubies.travis-ci.org/
Uses latest jdk: oraclejdk8
per
https://docs.travis-ci.com/user/build-environment-updates/2015-02-03/#Ruby-VM
and
https://docs.travis-ci.com/user/languages/ruby/#Supported-Ruby-Versions-and-RVM
Follows on work in https://github.com/rails/rails/pull/23927 which was reverted
https://github.com/rails/rails/commit/26fe5fa08d52384bcea09c4210e3b3baaf5e9b95
JRUBY_OPTS minimize GC, disable JIT, for max test speed
- https://github.com/rails/rails/pull/16613
- https://github.com/rails/rails/pull/17088
Have Rails use JRuby-compatible Rake 11.1
- The Rake task was passing --verbose, an invalid option, to contemporary JRuby
- https://github.com/ruby/rake/pull/120
- https://github.com/rails-api/active_model_serializers/pull/1585
- https://github.com/jruby/jruby/issues/3653#issuecomment-195883717
No advantage to directly mounting JRuby over installing from cache; both on S3
- https://github.com/rails/rails/pull/23499/commits/b2d5b336b5a812009444571b22eed90777cd9a8c
- https://github.com/rails/rails/pull/23499/commits/f4fad041b2755d81e82ee3fc66d96f334b4653db
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index bd1a320de5..ef85107515 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,6 +29,13 @@ rvm: - 2.3.0 - ruby-head matrix: + include: + # Latest compiled version in http://rubies.travis-ci.org + - rvm: jruby-9.0.5.0 + jdk: oraclejdk8 + env: + - "JRUBY_OPTS='--dev -J-Xmx1024M'" + - "GEM='ap'" allow_failures: - rvm: ruby-head fast_finish: true |