From 67de252d85f2f5adbfea9ef83ad191a9ad35e3e0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Hallvard=20Tr=C3=A6tteberg?= <hal@ntnu.no>
Date: Mon, 12 Aug 2019 19:18:25 +0200
Subject: [PATCH] Update .gitlab-ci.yml

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3f9a49e..f2f0d3d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,15 +1,16 @@
 image: gradle:jdk12
 
 before_script:
-  - export GRADLE_USER_HOME=`pwd`/.gradle
+  - export GRADLE_USER_HOME=`pwd`/lectures/.gradle
 
 cache:
   paths:
-    - .gradle/wrapper
-    - .gradle/caches
-    - build
+    - lectures/.gradle/wrapper
+    - lectures/.gradle/caches
+    - lectures/build
 
 build:
   stage: build
   script:
-    - gradle build
+    - cd lectures
+    - ./gradle build
-- 
GitLab