From 4038ec03bcb875f091b18df6446d6f1a294925e8 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Thu, 27 Jun 2019 01:44:19 +0200 Subject: [PATCH] ci: limit libSegfault to tests only --- .gitlab-ci.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f1faaadfd..b5c386bdb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,9 +9,6 @@ variables: DOCKER_IMAGE: villas/node DOCKER_IMAGE_DEV: villas/node-dev MAKE_OPTS: -j32 - LD_PRELOAD: /usr/lib64/libSegFault.so - SEGFAULT_SIGNALS: all - SEGFAULT_SIGNALS: bus abrt stages: - prepare @@ -129,6 +126,10 @@ test:unit: stage: test dependencies: - build:fedora:x86_64 + variables: + LD_PRELOAD: /usr/lib64/libSegFault.so + SEGFAULT_SIGNALS: all + SEGFAULT_SIGNALS: bus abrt script: - mkdir -p build && cd build - cmake .. && make ${MAKE_OPTS} unit-tests @@ -141,6 +142,10 @@ test:integration: stage: test dependencies: - build:fedora:x86_64 + variables: + LD_PRELOAD: /usr/lib64/libSegFault.so + SEGFAULT_SIGNALS: all + SEGFAULT_SIGNALS: bus abrt script: - mkdir -p build && cd build - cmake ..