From f8cc0645e977fc1799d6aa4354f1df276a04a967 Mon Sep 17 00:00:00 2001
From: Simon Praetorius <simon.praetorius@tu-dresden.de>
Date: Thu, 27 Oct 2016 15:31:31 +0200
Subject: [PATCH] gitlab-ci updated

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c976df72..63dcaaaf 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,6 +1,12 @@
 ---
 image: mathiwr/amdis-base:debian9
 
+cache:
+  key: "$CI_BUILD_REF_NAME"
+  untracked: true
+  paths:
+  - install/
+
 stages:
   - build
   - demo
@@ -12,9 +18,6 @@ build:9-debug-gcc:
   stage: build
   script:
   - tools/build_amdis.sh --stage build --config Debug
-  artifacts:
-    paths:
-    - install/
   only:
   - master
 
@@ -22,9 +25,6 @@ build:9-release-gcc:
   stage: build
   script:
   - tools/build_amdis.sh --stage build --config Release
-  artifacts:
-    paths:
-    - install/
   only:
   - master
 
@@ -32,9 +32,6 @@ build:9-parallel-debug-gcc:
   stage: build
   script:
   - tools/build_amdis.sh --stage build --config Debug --parallel
-  artifacts:
-    paths:
-    - install/
   only:
   - master
 
@@ -42,9 +39,6 @@ build:9-parallel-release-gcc:
   stage: build
   script:
   - tools/build_amdis.sh --stage build --config Release --parallel
-  artifacts:
-    paths:
-    - install/
   only:
   - master
 
-- 
GitLab