active_model_serializers/.travis.yml
Yohan Robert 9bd4c22f40 Replace -d by --debug in JRUBY_OPTS for travis
It seems that for coverage to work properly the "--debug" option is
needed when using JRuby.
2016-03-19 01:30:16 +01:00

52 lines
849 B
YAML

language: ruby
sudo: false
rvm:
- 2.0.0
- 2.1
- 2.2.3
- 2.3.0
- ruby-head
- jruby-9.0.4.0
- jruby-head
jdk:
- oraclejdk8
install: bundle install --path=vendor/bundle --retry=3 --jobs=3
cache:
directories:
- vendor/bundle
script:
- bundle exec rake ci
env:
global:
- "JRUBY_OPTS='--dev -J-Xmx1024M --debug'"
matrix:
- "RAILS_VERSION=4.0"
- "RAILS_VERSION=4.1"
- "RAILS_VERSION=4.2"
- "RAILS_VERSION=master"
matrix:
exclude:
- rvm: 2.0.0
env: RAILS_VERSION=master
- rvm: 2.1
env: RAILS_VERSION=master
- rvm: jruby-9.0.4.0
env: RAILS_VERSION=master
- rvm: jruby-9.0.4.0
env: RAILS_VERSION=4.0
- rvm: jruby-head
env: RAILS_VERSION=master
- rvm: jruby-head
env: RAILS_VERSION=4.0
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
fast_finish: true