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