IAP GITLAB

Skip to content
Snippets Groups Projects
Commit cf693390 authored by Hans Dembinski's avatar Hans Dembinski
Browse files

generate coverage reports only for master branch

parent 19b56b21
No related branches found
No related tags found
No related merge requests found
...@@ -9,25 +9,27 @@ variables: ...@@ -9,25 +9,27 @@ variables:
LSAN_OPTIONS: "log_threads=1" LSAN_OPTIONS: "log_threads=1"
ASAN_OPTIONS: "detect_leaks=0:detect_stack_use_after_return=1" ASAN_OPTIONS: "detect_leaks=0:detect_stack_use_after_return=1"
# build: build: # normal pipeline for each commit, except for commits to the master
# stage: build stage: build
# tags: tags:
# - corsika - corsika
# script: script:
# - mkdir build - mkdir build
# - cd build - cd build
# - cmake .. -DCMAKE_BUILD_TYPE=Debug - cmake .. -DCMAKE_BUILD_TYPE=Debug
# - cmake --build . -- -j4 - cmake --build . -- -j4
# - ctest -j4 -V >& test.log || gzip -v -9 -S .gz test.log - ctest -j4 -V >& test.log || gzip -v -9 -S .gz test.log
# artifacts: artifacts:
# expire_in: 1 year expire_in: 1 year
# paths: paths:
# - build/test.log.gz - build/test.log.gz
# reports: reports:
# junit: junit:
# - build/test_outputs/junit*.xml - build/test_outputs/junit*.xml
except:
- master
coverage: coverage: # special pipeline for master with coverage report
stage: build stage: build
tags: tags:
- corsika - corsika
...@@ -46,6 +48,8 @@ coverage: ...@@ -46,6 +48,8 @@ coverage:
reports: reports:
junit: junit:
- build/test_outputs/junit*.xml - build/test_outputs/junit*.xml
only:
- master
pages: pages:
stage: build stage: build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment