language: ruby
rvm:
  - 2.3.3
env:
  - DB=postgresql CODECLIMATE_REPO_TOKEN=60f24faadd4214af105e217fca320e3a6d4eab015ca1eaf672aed2fbcc77b296
before_install:
  - sudo apt-get install libpq-dev 
before_script:
  - cp config/database.travis.yml config/database.yml
  - psql -c 'create database con_on_rails_test' -U postgres
  - sqlite3 -batch db/attendees.sqlite3 < db/attendees.seed
script:
  - RAILS_ENV=test bundle exec rake db:migrate test

language: ruby
cache: bundler
rvm:
  - 2.3.3
env:
  - DB=postgresql CODECLIMATE_REPO_TOKEN=60f24faadd4214af105e217fca320e3a6d4eab015ca1eaf672aed2fbcc77b296
before_install:
  - sudo apt-get install libpq-dev 
before_script:
  - cp config/database.travis.yml config/database.yml
  - psql -c 'create database con_on_rails_test' -U postgres
  - sqlite3 -batch db/attendees.sqlite3 < db/attendees.seed
script:
  - RAILS_ENV=test bundle exec rake db:migrate test

Improve Travis performance by caching bundle
Improve Travis performance by caching bundle
