language: ruby
cache: bundler
rvm:
  - 2.5.0
  - 2.4.3
  - 2.3.6
  - 2.2.9
  - 2.1.10
  - 2.0.0
  - 1.9.3
  - jruby-9.1.16.0
gemfile:
  - gemfiles/rails3.gemfile
  - gemfiles/rails4.gemfile
  - gemfiles/rails5.gemfile
matrix:
  exclude:
    - rvm: 2.1.10
      gemfile: gemfiles/rails5.gemfile
    - rvm: 2.0.0
      gemfile: gemfiles/rails5.gemfile
    - rvm: 1.9.3
      gemfile: gemfiles/rails5.gemfile
    - rvm: 1.9.3
      gemfile: gemfiles/rails4.gemfile
  fast_finish: true
env:
  global:
    - JRUBY_OPTS='--debug'
script:
  - bundle exec rake
before_install:
  - gem install bundler
  - sudo apt-get -y remove memcached
  - sudo apt-get install libevent-dev
  - wget https://memcached.org/files/memcached-1.4.15.tar.gz
  - tar -zxvf memcached-1.4.15.tar.gz
  - cd memcached-1.4.15
  - ./configure --enable-sasl
  - make
  - sudo make install

language: ruby
cache: bundler
rvm:
  - 2.5.3
  - 2.4.4
  - 2.3.8
  - 2.2.10
  - 2.1.10
  - 2.0.0
  - 1.9.3
  - jruby-9.1.16.0
gemfile:
  - gemfiles/rails3.gemfile
  - gemfiles/rails4.gemfile
  - gemfiles/rails5.gemfile
matrix:
  exclude:
    - rvm: 2.1.10
      gemfile: gemfiles/rails5.gemfile
    - rvm: 2.0.0
      gemfile: gemfiles/rails5.gemfile
    - rvm: 1.9.3
      gemfile: gemfiles/rails5.gemfile
    - rvm: 1.9.3
      gemfile: gemfiles/rails4.gemfile
  fast_finish: true
env:
  global:
    - JRUBY_OPTS='--debug'
script:
  - bundle exec rake
before_install:
  - gem install bundler
  - sudo apt-get -y remove memcached
  - sudo apt-get install libevent-dev
  - wget https://memcached.org/files/memcached-1.4.15.tar.gz
  - tar -zxvf memcached-1.4.15.tar.gz
  - cd memcached-1.4.15
  - ./configure --enable-sasl
  - make
  - sudo make install

Update Rubies for Travis CI as of 2018-10-20
Update Rubies for Travis CI as of 2018-10-20
