language: ruby
rvm:
  - 2.5
  - 2.4
  - 2.3
  - 2.2
env:
  - SINATRA_MAJOR=1
  - SINATRA_MAJOR=2
addons:
  postgresql: '9.3'
before_install:
  - gem update --system
before_script:
  - createdb pliny-gem-test
sudo: false
cache: bundler
notifications:
  email: false
script: bundle exec rake

language: ruby
dist: xenial
services:
  - postgresql
rvm:
  - 2.6
  - 2.5
  - 2.4
env:
  - SINATRA_MAJOR=1
  - SINATRA_MAJOR=2
cache: bundler
before_install:
  - gem update --system
  - gem install bundler
notifications:
  email: false
before_script:
  - createdb pliny-gem-test
script:
  - bundle exec rake

Upgrade Travis to Xenial and drop older Rubies
Upgrade Travis to Xenial and drop older Rubies

Builds were no longer working, and we were using a no longer supported
version of Postgres. This brings it all up to date, and uses the
currently supported Rubies.
