using artifact with dependancy

This commit is contained in:
Filip Bucek 2019-11-08 17:51:32 +01:00
parent 22e281a2a7
commit 4ded480088

View File

@ -16,11 +16,12 @@ build: # name of task
- cd build
- qmake ../server-sdk.pro
- make -j4
cache:
key: ${CI_BUILD_REF_NAME}
artifacts:
paths:
- build/
# ########
# Test
##########
@ -32,6 +33,7 @@ test:
- cd build
- make check
# memory leak check for unittest
valgrind:
stage: test
@ -49,6 +51,7 @@ cppcheck:
#allow_failure: true # Probably needed to allow failure
script:
- scripts/cppcheck.sh
dependencies: []
# Common checks ( Line endings )
lineendings:
@ -57,6 +60,7 @@ lineendings:
- shell
script:
- scripts/check.sh
dependencies: []
codecoverage:
stage: test
@ -65,6 +69,7 @@ codecoverage:
script:
- scripts/codecoverage.sh
coverage: '/^\s+functions..:\s+(\d+\.\d+%).+$/'
dependencies: []
doc:
stage: test
@ -72,3 +77,4 @@ doc:
- shell
script:
- scripts/doc.sh clean # 'clean' better clean before generating documentation
dependencies: []