language: ruby
rvm: 2.6.5
cache: bundler
sudo: false
before_install:
  - git config --global user.name 'Travis CI'
  - git config --global user.email 'travis-ci@example.com'
  - gem update --system
  - gem install bundler
  - bundler config --global disable_platform_warnings true
install: bundle install
notifications:
  email: false
services:
  - postgresql

language: ruby
rvm: 2.6.5
cache: bundler
before_install:
  - git config --global user.name 'Travis CI'
  - git config --global user.email 'travis-ci@example.com'
  - gem update --system
  - gem install bundler
  - bundler config --global disable_platform_warnings true
install: bundle install
notifications:
  email: false
services:
  - postgresql

Remove unused sudo key in Travis config
Remove unused sudo key in Travis config

According to [the docs],

> Deprecated: The key `sudo` has no effect anymore.

[the docs]: https://config.travis-ci.com/ref/sudo
