language: ruby
cache: bundler
rbenv:
  - 2.5.7
matrix:
  include:
    - gemfile: gemfiles/rails_5.gemfile
      env: RAILS_VERSION=5
    - gemfile: gemfiles/rails_4.gemfile
      env: RAILS_VERSION=4
    - gemfile: gemfiles/rails_3.2.gemfile
      env: RAILS_VERSION=3

language: ruby
cache: bundler
matrix:
  include:
    - gemfile: gemfiles/rails_6.gemfile
      env: RAILS_VERSION=6
      rvm: 2.5.7

    - gemfile: gemfiles/rails_5.gemfile
      env: RAILS_VERSION=5
      rvm: 2.5.7
    - gemfile: gemfiles/rails_5.gemfile
      env: RAILS_VERSION=5
      rvm: 2.4.6

    - gemfile: gemfiles/rails_4.gemfile
      env: RAILS_VERSION=4
      rvm: 2.5.7
    - gemfile: gemfiles/rails_4.gemfile
      env: RAILS_VERSION=4
      rvm: 2.4.6

    - gemfile: gemfiles/rails_3.2.gemfile
      env: RAILS_VERSION=3
      rvm: 2.5.7
    - gemfile: gemfiles/rails_3.2.gemfile
      env: RAILS_VERSION=3
      rvm: 2.4.6

Build specific matrix with ruby versions
Build specific matrix with ruby versions
