Commit 5cc4e5d9 authored by PRUVOST Florent's avatar PRUVOST Florent

test sonar before to limit it to some branches

parent 7fff6f00
Pipeline #23389 passed with stages
in 61 minutes and 5 seconds
......@@ -17,6 +17,9 @@ build_pampa:
- scan-build -plist --intercept-first --analyze-headers -o ../analyzer_reports
cmake .. -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_C_FLAGS="-O0 -g -fPIC --coverage -Wall -fdiagnostics-show-option" -DCMAKE_EXE_LINKER_FLAGS="--coverage"
- scan-build -plist --intercept-first --analyze-headers -o ../analyzer_reports make -j5 2>&1 | tee ../pampa-build.log
only:
- branches
- master@PaMPA/PaMPA-p
test_pampa:
stage: test
......@@ -30,6 +33,9 @@ test_pampa:
- make test
- lcov --directory . --capture --output-file pampa.lcov
- lcov_cobertura.py pampa.lcov --output ../pampa-coverage.xml
only:
- branches
- master@PaMPA/PaMPA-p
sonar:
stage: analysis
......@@ -44,5 +50,5 @@ sonar:
- sonar.log
script:
- ./ext/analysis.sh
only:
- master@PaMPA/PaMPA-p
#only:
# - master@PaMPA/PaMPA-p
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment