language: ruby

rvm:
  - 2.2
  - jruby

notifications:
  email: false

services:
  - elasticsearch

before_install:
  - gem install bundler

before_script:
  - ln -s database.yml.example config/database.yml
  - bundle exec rake secret:replace
  - bundle exec rake db:migrate

script:
  - bundle exec rake test

language: ruby

rvm:
  - 2.2
  - jruby

matrix:
  allow_failures:
    - rvm: jruby

notifications:
  email: false

services:
  - elasticsearch

before_install:
  - gem install bundler

before_script:
  - ln -s database.yml.example config/database.yml
  - bundle exec rake secret:replace
  - bundle exec rake db:migrate

script:
  - bundle exec rake test

Allow CI build failure for JRuby.
Allow CI build failure for JRuby.
