enable postgres service for drone testing
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user