From 32c7031e7036b4d6e7095f5ac5db776e55433da8 Mon Sep 17 00:00:00 2001
From: Florent Pruvost <florent.pruvost@inria.fr>
Date: Mon, 12 Mar 2018 18:52:54 +0100
Subject: [PATCH] keep ctest build to get warnings in cdash

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d7db536a6..f7e94a030 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -18,7 +18,11 @@ before_script:
     - echo VERSION $VERSION
     - (cd build &&
        cmake -C ../cmake_modules/gitlab-ci-initial-cache.cmake .. $BUILD_OPTIONS &&
-       scan-build -plist --intercept-first --analyze-headers -o analyzer_reports make -j5 | tee ../chameleon_${VERSION}.log)
+       scan-build -plist --intercept-first --analyze-headers -o analyzer_reports
+       ctest --no-compress-output -V -j 5
+             -D ExperimentalBuild
+             -D ExperimentalSubmit
+             | tee ../chameleon_${VERSION}.log)
     - (cd build &&
        make install | tee -a ../chameleon_${VERSION}.log &&
        rm install/ -r)
-- 
GitLab