language: ruby rvm: - 2.4.1 cache: bundler addons: postgresql: '9.3' sudo: false before_script: - cp config/database.yml.travis config/database.yml - cp .env.example .env - psql -c 'create database cakeside_test;' -U postgres script: - bundle exec rake db:schema:load - bundle exec rake db:test:prepare - bundle exec rake spec - bundle exec rake teaspoon