Conditional build with sonar
This commit is contained in:
parent
93d3362709
commit
bb626649eb
1 changed files with 2 additions and 2 deletions
|
|
@ -20,7 +20,7 @@ addons:
|
|||
|
||||
script:
|
||||
- cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS=--coverage -DCMAKE_CXX_FLAGS=--coverage -DBoost_USE_STATIC_LIBS=OFF -DCMAKE_CXX_OUTPUT_EXTENSION_REPLACE=ON .
|
||||
- build-wrapper-linux-x86-64 --out-dir bw-output make -j 2
|
||||
- 'which build-wrapper-linux-x86-64 && build-wrapper-linux-x86-64 --out-dir bw-output make -j 2 || make -j 2'
|
||||
- set -o pipefail
|
||||
- tests/all_tests 2>&1 | cat
|
||||
- "tests/api 2>&1 | grep -vE 'callback result 9|remote_calc->add. 4, 5 .: 9|set callback|] \\.$'"
|
||||
|
|
@ -29,4 +29,4 @@ script:
|
|||
- tests/ecc_test README.md 2>&1 | cat
|
||||
- tests/log_test 2>&1 | cat
|
||||
- 'find CMakeFiles/fc.dir -type d | while read d; do gcov -o "$d" "${d/CMakeFiles*.dir/./}"/*.cpp; done >/dev/null'
|
||||
- sonar-scanner
|
||||
- 'which sonar-scanner && sonar-scanner || true'
|
||||
|
|
|
|||
Loading…
Reference in a new issue