travis: Enable caching for sonarcloud scan
This commit is contained in:
1 parent
96b61792df
commit
1f2c83db61
2 files changed
+5
No files matched your search
@@ -433,6 +433,8 @@ sonarcloud)
|
||||
-Dsonar.projectVersion=$(git describe)+${TRAVIS_BUILD_NUMBER} \
|
||||
-Dsonar.sources=. \
|
||||
-Dsonar.cfamily.threads=2 \
|
||||
-Dsonar.cfamily.cache.enabled=true \
|
||||
-Dsonar.cfamily.cache.path=$HOME/.sonar-cache \
|
||||
-Dsonar.cfamily.build-wrapper-output=bw-output || exit $?
|
||||
rm -r bw-output .scannerwork
|
||||
;;
|
||||
|
||||
Reference in new issue
Block a user