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