From c5e21d3f05af8fe117775865273d64ef7654c644 Mon Sep 17 00:00:00 2001
From: Tomas Pecka <peckato1@fit.cvut.cz>
Date: Thu, 21 Feb 2019 11:26:11 +0100
Subject: [PATCH] CI: Adapt gitlab.ci

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3a335cafd1..69a2a5d4dd 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -122,10 +122,14 @@ build:doc:
   stage: test
   script:
     - cd release
-    - make CTEST_OUTPUT_ON_FAILURE=1 test
+    - mkdir reports
+    - make test ARGS="-j$(grep -c processor /proc/cpuinfo) --output-on-failure"
 
 .test:push: &test-push
   <<: *test
+  image: alpine:edge
+  before_script:
+    - apk add --no-cache bash bc coreutils python3 cmake make libexecinfo cppunit libxml2 tclap readline qt5-qtbase qt5-qtbase-x11 graphviz jsoncpp
   except:
     variables:
       - $SCHEDULED_NIGHTLY
-- 
GitLab