language: ruby
bundler_args: --without development --deployment --jobs=3 --retry=10
cache: bundler
rvm:
  - 2.1.5
  - 2.2.4
  - 2.3.0
script:
  - RAILS_ENV=test bin/setup
  - RAILS_ENV=test bundle exec rake --trace spec
before_script:
  - psql -c 'create database fauna_development;' -U postgres
  - psql -c 'create database fauna_test;' -U postgres
  - cp config/database.yml.travis config/database.yml
sudo: false

language: ruby
bundler_args: --without development --deployment --jobs=3 --retry=10
cache: bundler
rvm:
  - 2.1.5
  - 2.2.4
  - 2.3.0
script:
  - RAILS_ENV=test bin/setup
  - RAILS_ENV=test bundle exec rake --trace spec
before_script:
  - psql -c 'create database fauna_development;' -U postgres
  - psql -c 'create database fauna_test;' -U postgres
  - cp config/database.yml.travis config/database.yml
sudo: true
dist: trusty

Use Ubuntu Trusty in Travis
Use Ubuntu Trusty in Travis
