From: Tobias Brunner Date: Tue, 13 Nov 2018 11:08:43 +0000 (+0100) Subject: travis: Use two threads to analyze C code with SonarQube X-Git-Tag: 5.7.2dr4~17^2~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=187ab29849761b2513688109f73b7f20e83970b1;p=thirdparty%2Fstrongswan.git 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. --- diff --git a/scripts/test.sh b/scripts/test.sh index 8f573cef3b..893dcb6499 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -284,6 +284,7 @@ sonarcloud) -Dsonar.projectKey=strongswan \ -Dsonar.projectVersion=$(git describe)+${TRAVIS_BUILD_NUMBER} \ -Dsonar.sources=. \ + -Dsonar.cfamily.threads=2 \ -Dsonar.cfamily.build-wrapper-output=bw-output || exit $? ;; *)