language: ruby
script: bundle exec rspec spec
sudo: false
cache: bundler
env:
  - DB=sqlite3
  - DB=sqlite3mem
  - DB=postgresql
  - DB=mysql
rvm:
  - 2.7.0-preview1
  - 2.6.3
  - 2.5.5
addons:
  postgresql: 9.4
gemfile:
  - gemfiles/rails_5.0.gemfile
  - gemfiles/rails_5.1.gemfile
  - gemfiles/rails_5.2.gemfile
  - gemfiles/rails_6.0.gemfile
matrix:
  include:
    - rvm: 2.6.3
      gemfile: gemfiles/rails_5.2.gemfile
      env: DB=mariadb
      addons:
        mariadb: '10.4'
      before_install:
        - sudo systemctl stop mysql
        - sudo mysqld_safe --skip-grant-tables &
notifications:
  webhooks:
    urls:
      - https://buildlight.collectiveidea.com/
    on_start: always
services:
  - mysql
language: ruby
script: bundle exec rspec spec
sudo: false
cache: bundler
env:
  - DB=sqlite3
  - DB=sqlite3mem
  - DB=postgresql
  - DB=mysql
rvm:
  - 2.7.1
  - 2.6.6
  - 2.5.8
addons:
  postgresql: 9.4
gemfile:
  - gemfiles/rails_5.0.gemfile
  - gemfiles/rails_5.1.gemfile
  - gemfiles/rails_5.2.gemfile
  - gemfiles/rails_6.0.gemfile
matrix:
  include:
    - rvm: 2.6.6
      gemfile: gemfiles/rails_5.2.gemfile
      env: DB=mariadb
      addons:
        mariadb: '10.4'
      before_install:
        - sudo systemctl stop mysql
        - sudo mysqld_safe --skip-grant-tables &
notifications:
  webhooks:
    urls:
      - https://buildlight.collectiveidea.com/
    on_start: always
services:
  - mysql

Use latest Ruby versions in CI
Use latest Ruby versions in CI