From e530ceb63981af11242421151b4e28639fbe31fd Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Thu, 12 Aug 2021 22:22:31 +0200 Subject: Update coverity script --- runcoverity.sh | 9 +++++++-- 1 file 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 -- cgit v1.2.3