summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml10
1 files changed, 4 insertions, 6 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index faea96e..e13c26c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -33,23 +33,21 @@ build-and-test:
parallel:
matrix:
- BUILD_TYPE:
- - Debug
+ - RelWithDebInfo
- MinSizeRel
coverage:
stage: coverage
script:
- - lcov -c -o coverage.info -d build -b . --config-file .lcovrc
- - lcov -l coverage.info
- - genhtml -o coverage coverage.info
+ - lcov --config-file .lcovrc --capture --directory $(pwd) --output-file coverage.info
+ - lcov --config-file .lcovrc --list coverage.info
coverage: '/Total:\|(\d+\.?\d+)\%/'
artifacts:
paths:
- - coverage/*
- coverage.info
expire_in: 24 hours
needs:
- job: build-and-test
parallel:
matrix:
- - BUILD_TYPE: Debug
+ - BUILD_TYPE: RelWithDebInfo