summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 6e25e1b47882286c96899cddb4ddfe6d94084620 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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