From c4803ad21ffcc670d4003745fed6f042a163716c Mon Sep 17 00:00:00 2001
From: Robin Oppermann <robinopp@mail.uni-paderborn.de>
Date: Thu, 26 Jan 2017 23:26:17 +0100
Subject: [PATCH] Create artifacts in test task on failure

---
 .gitlab-ci.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index be674cd2..0a1dcec3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -76,5 +76,6 @@ test:
   script:
     - ./gradlew -g /cache/.gradle check
   artifacts:
+    when: on_failure
     paths:
     - build/reports/
\ No newline at end of file
-- 
GitLab