From 9bf925825a25bea109555f6b47f50dc5909e0ec4 Mon Sep 17 00:00:00 2001
From: Lukas Braun <koomi@moshbit.net>
Date: Sat, 7 Oct 2017 23:39:12 +0200
Subject: [PATCH] Set $PGPASSWORD

---
 .gitlab-ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 13f2688..a710666 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -18,13 +18,13 @@ before_script:
 go1.8:
     image: golang:1.8-stretch
     script:
-        - PGHOST=postgres make test
+        - PGPASSWORD="$POSTGRES_PASSWORD" PGHOST=postgres make test
     tags:
         - shared runner
 
 go1.9:
     image: golang:1.9-stretch
     script:
-        - PGHOST=postgres make test
+        - PGPASSWORD="$POSTGRES_PASSWORD" PGHOST=postgres make test
     tags:
         - shared runner
-- 
GitLab