enable postgres service for drone testing

This commit is contained in:
Anton Lindström 2014-06-09 16:44:35 +00:00
parent b205a0ee64
commit 69833dab93
1 changed files with 4 additions and 0 deletions

View File

@ -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