From da651e050465a7c50867d5591bec268b28c09485 Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.dos.anjos@gmail.com>
Date: Thu, 22 Dec 2016 22:37:38 +0100
Subject: [PATCH] Remove coverage compilation support

---
 gitlab/functions.sh | 14 +++-----------
 1 file changed, 3 insertions(+), 11 deletions(-)

diff --git a/gitlab/functions.sh b/gitlab/functions.sh
index ae32a16..2ab6172 100644
--- a/gitlab/functions.sh
+++ b/gitlab/functions.sh
@@ -199,23 +199,15 @@ fi
 
 PREFIX=${CI_PROJECT_DIR}/${CONDA_PREFIX}
 
-# Add "-coverage" support
 if [ "${ARCH}" == "linux" ]; then
   # Temporary hack to get building done right with gcc-5 compilers
   if [ -z "${CFLAGS}" ]; then
-    CFLAGS="-D_GLIBCXX_USE_CXX11_ABI=0 -coverage"
+    CFLAGS="-D_GLIBCXX_USE_CXX11_ABI=0"
   else
-    CFLAGS="${CFLAGS} -D_GLIBCXX_USE_CXX11_ABI=0 -coverage"
+    CFLAGS="${CFLAGS} -D_GLIBCXX_USE_CXX11_ABI=0"
   fi
-  CXXFLAGS=${CFLAGS}
-else
-  if [ -z "${CFLAGS}" ]; then
-    CFLAGS="-coverage"
-  else
-    CFLAGS="${CFLAGS} -coverage"
-  fi
-  CXXFLAGS=${CFLAGS}
 fi
+CXXFLAGS=${CFLAGS}
 
 PYVER=py$(echo ${PYTHON_VERSION} | tr -d '.')
 if [ -z "${BOB_PREFIX_PATH}" ]; then
-- 
GitLab