language: ruby
sudo: false
cache: bundler
gemfile:
  - gemfiles/rails_4.2.gemfile
  - gemfiles/rails_5.0.gemfile
  - gemfiles/rails_5.1.gemfile
  - Gemfile
rvm:
  - '2.2.6'
  - '2.3.3'
  - '2.4.1'
  - jruby-9.1.8.0
matrix:
  include:
    - rvm: '2.3.3'
      gemfile: 'gemfiles/rails_4.0.gemfile'
    - rvm: '2.3.3'
      gemfile: 'gemfiles/rails_4.1.gemfile'
    - rvm: '2.4.1'
      gemfile: gemfiles/rails_head.gemfile
  allow_failures:
    - gemfile: gemfiles/rails_head.gemfile

language: ruby
sudo: false
cache: bundler
gemfile:
  - gemfiles/rails_4.2.gemfile
  - gemfiles/rails_5.0.gemfile
  - gemfiles/rails_5.1.gemfile
  - Gemfile
rvm:
  - '2.2.8'
  - '2.3.5'
  - '2.4.2'
  - jruby-9.1.13.0
matrix:
  include:
    - rvm: '2.3.5'
      gemfile: 'gemfiles/rails_4.0.gemfile'
    - rvm: '2.3.5'
      gemfile: 'gemfiles/rails_4.1.gemfile'
    - rvm: '2.4.2'
      gemfile: gemfiles/rails_head.gemfile
  allow_failures:
    - gemfile: gemfiles/rails_head.gemfile

Update Ruby versions used in CI
Update Ruby versions used in CI