From 69833dab93989d8b48aae347dc2bbdb15c3e5ac7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Lindstr=C3=B6m?= Date: Mon, 9 Jun 2014 16:44:35 +0000 Subject: [PATCH] enable postgres service for drone testing --- .drone.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.drone.yml b/.drone.yml index 0c8b24c..c7434ad 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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