language: ruby
rvm:
  - 2.2.9
  - 2.3.6
  - 2.4.3
  - 2.5.0
addons:
  postgresql: '9.4'
before_install:
  - gem update --system
  - gem --version
  - gem install bundler
before_script:
  - bundle exec rake db:create
  - bundle exec rake db:migrate
cache: bundler
gemfile:
  - gemfiles/activerecord_5.0.0.gemfile
  - gemfiles/activerecord_5.1.0.gemfile

language: ruby
rvm:
  - 2.2.9
  - 2.3.6
  - 2.4.3
  - 2.5.3
  - 2.6.1
addons:
  postgresql: '9.4'
before_install:
  - gem update --system
  - gem --version
  - gem install bundler
before_script:
  - bundle exec rake db:create
  - bundle exec rake db:migrate
cache: bundler
gemfile:
  - gemfiles/activerecord_5.0.0.gemfile
  - gemfiles/activerecord_5.1.0.gemfile

Test against new Ruby versions
Test against new Ruby versions