From 9cdaab12f65616bac50e7963d7d7172c65449095 Mon Sep 17 00:00:00 2001
From: Rohith <gambol99@gmail.com>
Date: Thu, 16 Jun 2016 16:13:46 +0100
Subject: [PATCH] - fixing the build for godeps on gitlab

---
 .gitlab-ci.yml | 20 ++++++++++++++------
 1 file changed, 14 insertions(+), 6 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 53dbcfd..d3eeff9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -9,17 +9,25 @@ stages:
 
 tests:
   stage: tests
-  image: golang:1.6.0
+  image: golang:1.6.2
+  before_script:
+  - mkdir -p /go/src/github.com/gambol99
+  - ln -sf /builds/go/keycloak-proxy /go/src/github.com/gambol99
+  - cd /go/src/github.com/gambol99/keycloak-proxy
   script:
-    - make deps
-    - make test
+  - make deps
+  - make test
 
 build:
   stage: build
-  image: golang:1.6.0
+  image: golang:1.6.2
+  before_script:
+  - mkdir -p /go/src/github.com/gambol99
+  - ln -sf /builds/go/keycloak-proxy /go/src/github.com/gambol99
+  - cd /go/src/github.com/gambol99/keycloak-proxy
   script:
-    - make deps
-    - make static
+  - make deps
+  - make static
   artifacts:
     paths:
     - bin/
-- 
GitLab