diff --git a/.drone.yml b/.drone.yml index 44b1102..e1c21b9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,10 +1,10 @@ image: go1.2 env: - GOPATH=/var/cache/drone - - PGSTORE_TEST_CONN="postgres://postgres@localhost:5432/testDb?sslmode=disable" services: - postgres script: - - createdb -h localhost -U postgres testDb + - 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