before_install: gem install bundler
language: ruby
rvm:
  - 2.4
  - 2.5
  - 2.6
gemfile:
  - Gemfile
addons:
  postgresql: "9.4"
env:
  - PGUSER=postgres
before_script:
  - psql -c 'create database message_bus_test;' -U postgres
services:
  - redis-server
  - postgresql

before_install: gem install bundler
language: ruby
rvm:
  - 2.5
  - 2.6
  - 2.7
gemfile:
  - Gemfile
addons:
  postgresql: "9.4"
env:
  - PGUSER=postgres
before_script:
  - psql -c 'create database message_bus_test;' -U postgres
services:
  - redis-server
  - postgresql

Add Ruby 2.7 to Travis and remove Ruby 2.4.
Add Ruby 2.7 to Travis and remove Ruby 2.4.

Ruby 2.4 has reached EOL.
