sudo: false
bundler_args: --jobs=3 --retry=3
language: ruby
cache: bundler
before_install:
  - gem update --remote bundler
rvm:
  - 2.0
  - 2.1
  - 2.2
  - 2.3.1
  - jruby-9.1.5.0
  - rbx
  - ruby-head
  - jruby-head
matrix:
  allow_failures:
    - rvm: ruby-head
    - rvm: jruby-head
    - rvm: rbx
  fast_finish: true
notifications:
  email:
    on_success: change
    on_failure: always
script:
  - bundle exec rake

sudo: false
bundler_args: --jobs=3 --retry=3
language: ruby
cache: bundler
before_install:
  - gem install bundler
rvm:
  - 2.0
  - 2.1
  - 2.2
  - 2.3.1
  - jruby-9.1.5.0
  - rbx
  - ruby-head
  - jruby-head
matrix:
  allow_failures:
    - rvm: ruby-head
    - rvm: jruby-head
    - rvm: rbx
  fast_finish: true
notifications:
  email:
    on_success: change
    on_failure: always
script:
  - bundle exec rake

Use gem install bundler for jruby
Use gem install bundler for jruby

```
jruby: warning: unknown property jruby.cext.enabled
Updating installed gems
Nothing to update
/home/travis/build.sh: line 218: bundle: command not found
```
