Executee pg.sql on Travis

This commit is contained in:
Maksym Pavlenko
2017-10-26 16:48:22 -07:00
parent 2f2c392b7d
commit bca16c1dc9
+1
View File
@@ -13,6 +13,7 @@ addons:
postgresql: "9.6"
before_script:
- psql -a -c "CREATE DATABASE podsync;" -U postgres
- psql -a -f ./pkg/models/pg.sql -d podsync -U postgres
script:
- set -e
- go test -v -short $(go list -e ./... | grep -v vendor)