image: go1.2
env:
- GOPATH=/var/cache/drone
services:
- postgres
script:
- export PGSTORE_TEST_CONN="postgres://postgres@127.0.0.1/test?sslmode=disable"
- psql -c 'create database test;' -U postgres -h 127.0.0.1
- make
- make test