language: ruby
env:
  - CODECLIMATE_REPO_TOKEN=f7c652b65a700fcf1032174afc5ea243b991e48bf73077cc34c148e1c800a2f7
bundler_args: --without sql benchmarks console tools
script: "bundle exec rake spec"
rvm:
  - 2.0
  - 2.1
  - 2.2
  - rbx-2
  - jruby
  - ruby-head
matrix:
  allow_failures:
    - rvm: ruby-head
notifications:
  webhooks:
    urls:
      - https://webhooks.gitter.im/e/39e1225f489f38b0bd09
    on_success: change
    on_failure: always
    on_start: false

language: ruby
env:
  - CODECLIMATE_REPO_TOKEN=f7c652b65a700fcf1032174afc5ea243b991e48bf73077cc34c148e1c800a2f7
bundler_args: --without sql benchmarks console tools
script: "bundle exec rake spec"
rvm:
  - 2.0
  - 2.1
  - 2.2
  - rbx-2
  - jruby
  - ruby-head
env:
  global:
    - JRUBY_OPTS='--dev -J-Xmx1024M'
matrix:
  allow_failures:
    - rvm: ruby-head
notifications:
  webhooks:
    urls:
      - https://webhooks.gitter.im/e/39e1225f489f38b0bd09
    on_success: change
    on_failure: always
    on_start: false

Improve JRuby's startup time on Travis
Improve JRuby's startup time on Travis

* Add --dev flag
  See https://github.com/jruby/jruby/wiki/Improving-startup-time#use-the---dev-flag
* Grant more memory

This change sped up Travis: ~1m29s -> ~1m02s
https://travis-ci.org/rom-rb/rom/jobs/45789347
vs
https://travis-ci.org/rom-rb/rom/jobs/45805550
