updating ci

This commit is contained in:
Filip Bucek 2019-11-08 17:58:01 +01:00
parent be0e0d4d37
commit 71d66a74fd

View File

@ -8,7 +8,7 @@ variables:
GIT_SUBMODULE_STRATEGY: recursive
# ########
##########
# Build
##########
build:
@ -20,12 +20,11 @@ build:
- cd build
- qmake ../colnod-connector.pro
- make -j4
cache:
key: ${CI_BUILD_REF_NAME}
artifacts:
paths:
- build/
# ########
##########
# Test
##########
test:
@ -36,7 +35,6 @@ test:
- cd build
- make check
# memory leak check for unittest
valgrind:
stage: test
@ -54,6 +52,7 @@ cppcheck:
#allow_failure: true # Probably needed to allow failure
script:
- server-sdk/scripts/cppcheck.sh
dependencies: []
# Common checks ( Line endings )
lineendings:
@ -62,6 +61,7 @@ lineendings:
- shell
script:
- server-sdk/scripts/check.sh
dependencies: []
codecoverage:
stage: test
@ -70,6 +70,7 @@ codecoverage:
script:
- server-sdk/scripts/codecoverage.sh
coverage: '/^\s+functions..:\s+(\d+\.\d+%).+$/'
dependencies: []
doc:
stage: test
@ -77,3 +78,4 @@ doc:
- shell
script:
- server-sdk/scripts/doc.sh clean # 'clean' better clean before generating documentation
dependencies: []