From be821d56f9e5ad979a5298b51f405f3cf6204db0 Mon Sep 17 00:00:00 2001
From: Julian Brost <vu20wyli@cip.cs.fau.de>
Date: Tue, 30 Jul 2019 14:09:12 +0200
Subject: [PATCH] gitlab ci: build on more appropriate go versions

test against the standard versions in stretch and buster as well as the
latest go release on each of them.
---
 .gitlab-ci.yml | 20 +++++++++++++++++---
 1 file changed, 17 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 558640c..5679a30 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -16,15 +16,29 @@ before_script:
     - apt update
     - apt install --yes libpam0g-dev libgnutls28-dev libpam-wrapper pamtester oathtool postgresql xxd
 
-go1.8:
+go-1.7-stretch:
     image: golang:1.8-stretch
     script:
         - make test
     tags:
         - shared runner
 
-go1.9:
-    image: golang:1.9-stretch
+go-1.11-buster:
+    image: golang:1.11-buster
+    script:
+        - make test
+    tags:
+        - shared runner
+
+go-latest-stretch:
+    image: golang:stretch
+    script:
+        - make test
+    tags:
+        - shared runner
+
+go-latest-buster:
+    image: golang:buster
     script:
         - make test
     tags:
-- 
GitLab