-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
So I have had problems with this in the past and struggled to find much in terms of documentation. There is a bit here.
I think essentially it comes down to adding this to your travis.yml
services:
- postgresql
before_script:
- psql -c 'create database nameOfDB;' -U postgresMaybe writing another script to set env and build db? I have this script in one of my projects
"pretest": "ENV=test npm run db-build",