Skip to content

Commit b3c6c7e

Browse files
committed
Merge pull request #1496 from nadavshatz/add-jruby-to-ci
Run all branches against JRuby on CI
2 parents 1aa64f2 + 84b87e7 commit b3c6c7e

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

.travis.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@ rvm:
99
- 2.3.0
1010
- ruby-head
1111
- rbx-2
12+
- jruby-9.0.4.0
13+
- jruby-head
14+
15+
jdk:
16+
- oraclejdk8
17+
18+
before_install:
19+
- '[ "$JRUBY_OPTS" != "" ] && export JRUBY_OPTS="--dev -Xcli.debug=true --debug"'
1220

1321
install: bundle install --path=vendor/bundle --retry=3 --jobs=3
1422
cache:
@@ -30,10 +38,16 @@ matrix:
3038
env: RAILS_VERSION=master
3139
- rvm: 2.1
3240
env: RAILS_VERSION=master
33-
include:
3441
- rvm: jruby-9.0.4.0
35-
env: JRUBY_OPTS='-Xcompat.version=2.0 --server -Xcompile.invokedynamic=false -Xcli.debug=true --debug'
42+
env: RAILS_VERSION=master
43+
- rvm: jruby-9.0.4.0
44+
env: RAILS_VERSION=4.0
45+
- rvm: jruby-head
46+
env: RAILS_VERSION=master
47+
- rvm: jruby-head
48+
env: RAILS_VERSION=4.0
3649
allow_failures:
3750
- rvm: ruby-head
51+
- rvm: jruby-head
3852
- rvm: rbx-2
3953
fast_finish: true

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ Fixes:
3131
- [#1488](https://github.com/rails-api/active_model_serializers/pull/1488) Require ActiveSupport's string inflections (@nate00)
3232

3333
Misc:
34+
- [#1496](https://github.com/rails-api/active_model_serializers/pull/1496) Run all branches against JRuby on CI (@nadavshatz)
3435
- [#1559](https://github.com/rails-api/active_model_serializers/pull/1559) Add a deprecation DSL. (@bf4 @groyoh)
3536
- [#1543](https://github.com/rails-api/active_model_serializers/pull/1543) Add the changes missing from #1535. (@groyoh)
3637
- [#1535](https://github.com/rails-api/active_model_serializers/pull/1535) Move the adapter and adapter folder to

0 commit comments

Comments
 (0)