language: ruby
sudo: false
rvm:
  - 2.3.3

env:
  - DB=postgresql

before_script:
  - psql -c 'create database "github-inbox_test";' -U postgres

bundler_args: --without development production --deployment --jobs=3 --retry=3

cache: bundler

notifications:
  email: false

language: ruby
sudo: false
rvm:
  - 2.3.3

services:
  - postgresql

before_script:
  - psql -c 'create database "github-inbox_test";' -U postgres

bundler_args: --without development production --deployment --jobs=3 --retry=3

cache: bundler

notifications:
  email: false

Set postgres as a service
Set postgres as a service

See https://docs.travis-ci.com/user/database-setup/#PostgreSQL
