1
0
mirror of https://github.com/mxpv/podsync.git synced 2024-05-11 05:55:04 +00:00

Executee pg.sql on Travis

This commit is contained in:
Maksym Pavlenko
2017-10-26 16:48:22 -07:00
parent 2f2c392b7d
commit bca16c1dc9

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)