Skip to content

Commit 187ab29

Browse files
committed
travis: Use two threads to analyze C code with SonarQube
On Nov 12, the scanner was updated and now takes a lot more time (about 3 times as much). Using two threads reduces it a bit (by about 25%). Using even more threads doesn't help or even increases the time again.
1 parent d8d756e commit 187ab29

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,7 @@ sonarcloud)
284284
-Dsonar.projectKey=strongswan \
285285
-Dsonar.projectVersion=$(git describe)+${TRAVIS_BUILD_NUMBER} \
286286
-Dsonar.sources=. \
287+
-Dsonar.cfamily.threads=2 \
287288
-Dsonar.cfamily.build-wrapper-output=bw-output || exit $?
288289
;;
289290
*)

0 commit comments

Comments
 (0)