summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-20 01:36:46 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-20 01:36:46 -0500
commitc8e91af6c8bf7566829a9812f5ff047f1f1e9570 (patch)
tree24208ce418e20d5bc37fcf03e333ce718345ddf7 /.gitlab-ci.yml
parentf490a429d28069fd40ed711adfea13e0c4cd0651 (diff)
downloadhorizon-c8e91af6c8bf7566829a9812f5ff047f1f1e9570.tar.gz
horizon-c8e91af6c8bf7566829a9812f5ff047f1f1e9570.tar.bz2
horizon-c8e91af6c8bf7566829a9812f5ff047f1f1e9570.tar.xz
horizon-c8e91af6c8bf7566829a9812f5ff047f1f1e9570.zip
CMake: Make lcov and RSpec first-class targets
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4a4c0c2..62f90a2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -17,9 +17,9 @@ test:
- cd tests
- PATH=../build/tools/hscript-validate:../build/tools/hscript-simulate:$PATH rspec --format RspecJunitFormatter --out rspec.xml
- cd ..
- - lcov --exclude '/usr/include/c++/*' --exclude '*/3rdparty/*' --capture --directory build --output-file coverage.info
- - genhtml coverage.info --output-directory cov_html
- - printf 'coverage %s\n' $(lcov --summary coverage.info | grep lines | cut -d ' ' -f4) > metrics.txt
+ - make lcov_report
+ - make lcov_html
+ - printf 'coverage %s\n' $(lcov --summary horizon.coverage | grep lines | cut -d ' ' -f4) > metrics.txt
coverage: '/lines.+: \d+.\d+%/'
artifacts:
paths: