|
@ -1,5 +1,6 @@ |
|
|
stages: |
|
|
stages: |
|
|
- codequality |
|
|
- test |
|
|
|
|
|
# - codequality |
|
|
- build |
|
|
- build |
|
|
- deploy |
|
|
- deploy |
|
|
|
|
|
|
|
@ -37,6 +38,21 @@ codequality: |
|
|
reports: |
|
|
reports: |
|
|
codequality: gl-code-quality-report.json |
|
|
codequality: gl-code-quality-report.json |
|
|
|
|
|
|
|
|
|
|
|
test: |
|
|
|
|
|
stage: test |
|
|
|
|
|
image: debian:testing |
|
|
|
|
|
allow_failure: true |
|
|
|
|
|
before_script: |
|
|
|
|
|
- apt -q update |
|
|
|
|
|
- apt install -qy build-essential |
|
|
|
|
|
- apt install -qy cppcheck |
|
|
|
|
|
script: |
|
|
|
|
|
# - cppcheck --enable=all --check-config src |
|
|
|
|
|
- cppcheck src |
|
|
|
|
|
# artifacts: |
|
|
|
|
|
# reports: |
|
|
|
|
|
# - |
|
|
|
|
|
|
|
|
deploy: |
|
|
deploy: |
|
|
stage: deploy |
|
|
stage: deploy |
|
|
image: alpine:latest |
|
|
image: alpine:latest |
|
|