enable postgres service for drone testing
This commit is contained in:
parent
b205a0ee64
commit
69833dab93
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue