From 4df0283e2fea9382f830f39cbd52dbe733b33a43 Mon Sep 17 00:00:00 2001 From: Lukas Braun <koomi@moshbit.net> Date: Sat, 7 Oct 2017 23:44:31 +0200 Subject: [PATCH] Just export all the stuff --- .gitlab-ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a710666..c14fe17 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,6 +11,7 @@ before_script: - ln -s /builds /go/src/gitlab.cs.fau.de - cd /go/src/gitlab.cs.fau.de/koomi/goatherd - go get -d + - export PGHOST=postgres PGUSER=$POSTGRES_USER PGPASSWORD=$POSTGRES_PASSWORD PGSSLMODE=disable - export DB_URL="host=postgres user=$POSTGRES_USER password=$POSTGRES_PASSWORD sslmode=disable" - apt update - apt install --yes libpam0g-dev libgnutls28-dev libpam-wrapper pamtester oathtool postgresql @@ -18,13 +19,13 @@ before_script: go1.8: image: golang:1.8-stretch script: - - PGPASSWORD="$POSTGRES_PASSWORD" PGHOST=postgres make test + - make test tags: - shared runner go1.9: image: golang:1.9-stretch script: - - PGPASSWORD="$POSTGRES_PASSWORD" PGHOST=postgres make test + - make test tags: - shared runner -- GitLab