language: ruby
cache: bundler
rvm:
  - 2.2.3
  - 2.1.7
  - 2.0.0
  - 1.9.3
  - rbx-2
  - jruby
gemfile:
  - gemfiles/rails3.gemfile
  - gemfiles/rails4.gemfile
matrix:
  allow_failures:
    - rvm: rbx-2
env: JRUBY_OPTS='--1.9'
before_install:
  - gem install bundler
  - sudo apt-get -y remove memcached
  - echo "yes" | sudo add-apt-repository ppa:travis-ci/memcached-sasl
  - sudo apt-get update
  - sudo apt-get install -y memcached=1.4.13-0ubuntu2+travis1

language: ruby
cache: bundler
rvm:
  - 2.2.3
  - 2.1.7
  - 2.0.0
  - 1.9.3
  - rbx-2
  - jruby
  - jruby-9.0.4.0
gemfile:
  - gemfiles/rails3.gemfile
  - gemfiles/rails4.gemfile
matrix:
  allow_failures:
    - rvm: rbx-2
env: JRUBY_OPTS='--1.9'
before_install:
  - gem install bundler
  - sudo apt-get -y remove memcached
  - echo "yes" | sudo add-apt-repository ppa:travis-ci/memcached-sasl
  - sudo apt-get update
  - sudo apt-get install -y memcached=1.4.13-0ubuntu2+travis1

Add a modern JRuby to the Travis list.
Add a modern JRuby to the Travis list.
