]> git.ipfire.org Git - thirdparty/strongswan.git/blobdiff - scripts/test.sh
travis: Enable caching for sonarcloud scan
[thirdparty/strongswan.git] / scripts / test.sh
index 1ea8478f1fe27c604df5abafd11cf921d67bb36c..98731699ed5389d0bf4fa70ff36ffa82b1b15841 100755 (executable)
@@ -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
        ;;