enable postgres service for drone testing
This commit is contained in:
1 parent
b205a0ee64
commit
69833dab93
1 file changed
+4
@@ -1,6 +1,10 @@
|
||||
image: go1.2
|
||||
env:
|
||||
- GOPATH=/var/cache/drone
|
||||
- PGSTORE_TEST_CONN="postgres://postgres@localhost:5432/testDb?sslmode=verify-none"
|
||||
services:
|
||||
- postgres
|
||||
script:
|
||||
- createdb -h localhost -U postgres testDb
|
||||
- make
|
||||
- make test
|
||||
Reference in new issue
Block a user