summaryrefslogtreecommitdiff
path: root/runcoverity.sh
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2021-08-12 22:22:31 +0200
committerArne Schwabe <arne@rfc2549.org>2021-08-12 22:22:43 +0200
commite530ceb63981af11242421151b4e28639fbe31fd (patch)
treea871c0d68d9333c410f1bebba96ae39e4c405a71 /runcoverity.sh
parent9c7285a5d2613f62118af3f3279adfa555fe1561 (diff)
Update coverity script
Diffstat (limited to 'runcoverity.sh')
-rwxr-xr-xruncoverity.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/runcoverity.sh b/runcoverity.sh
index 3d1f957b..f6622155 100755
--- a/runcoverity.sh
+++ b/runcoverity.sh
@@ -1,11 +1,16 @@
#!/bin/bash -xe
-export PATH=$PATH:/Applications/cov-analysis-macosx-2020.09/bin
+export PATH=$PATH:/Applications/cov-analysis-macosx-2021.03/bin
-if [ -n ${COVERITY_CONNECT_HOST} ]; then
+if [ -z "${COVERITY_CONNECT_HOST}" ]; then
echo COVERITY_CONNECT_HOST not set
exit 1
fi
+cov-configure --config .coverity/cfg.xml --clang
+cov-configure --config .coverity/cfg.xml --android
+cov-configure --config .coverity/cfg.xml --kotlin
+cov-configure --config .coverity/cfg.xml --java
+
./gradlew -b build.gradle.kts --no-daemon clean
cov-build --dir .coverity/idir --config .coverity/cfg.xml ./gradlew -b build.gradle.kts --no-daemon assembleUiRelease