summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjkoan <jkoan@users.noreply.github.com>2022-06-07 11:27:06 +0200
committerGitHub <noreply@github.com>2022-06-07 11:27:06 +0200
commit5e1257c4711e5af3888fce21d2315d183f0fb1c6 (patch)
tree6e24d40767b518caf4f75ddf485457479e88153d
parentb5c61306bfe15743bbdb9e8bc62a1d9e3123bcd1 (diff)
downloadnavit-5e1257c4711e5af3888fce21d2315d183f0fb1c6.tar.gz
change:build:linux:Remove additional steps
Remove Coverage and Translation Update from linux build as 1) it fails 2) should have its own Build-Step/Action
-rwxr-xr-xscripts/build_linux.sh34
1 files changed, 0 insertions, 34 deletions
diff --git a/scripts/build_linux.sh b/scripts/build_linux.sh
index 5d807ec45..2f42ba916 100755
--- a/scripts/build_linux.sh
+++ b/scripts/build_linux.sh
@@ -15,40 +15,6 @@ cmake ${cmake_opts} ../
make -j $(nproc --all)
make package
-if [[ "${CIRCLE_PROJECT_USERNAME}" == "navit-gps" && "${CIRCLE_BRANCH}" == "trunk" ]]; then
- # If we are building the official trunk code, push an update to coverity
- # Temporarily disabled because Coverity is down.
- # TODO on the long run, CI should not fail just because the Coverity test did not run,
- # especially if the test results are not taken into account.
- #echo "Pushing an update to coverity as we are building the official trunk code."
- #echo "Downloading coverity..."
- #curl \
- # -X POST --data "token=${COVERITY_TOKEN}&project=${CIRCLE_PROJECT_USERNAME}" \
- # -o /tmp/cov-analysis-linux64-${COVERITY_VERSION}.tar.gz -s \
- # https://scan.coverity.com/download/linux64
-
- #echo "Unpacking coverity..."
- #tar xfz /tmp/cov-analysis-linux64-${COVERITY_VERSION}.tar.gz --no-same-owner -C /usr/local/share/
- #export PATH=/usr/local/share/cov-analysis-linux64-${COVERITY_VERSION}/bin:$PATH
-
- #echo "Re-running build with coverity..."
- #cov-build --dir cov-int make -j $(nproc --all)
- #tar czvf navit.tgz cov-int
-
-# curl --form token=$COVERITY_TOKEN \
-# --form email=$COVERITY_EMAIL \
-# --form file=@navit.tgz \
-# --form version="${CIRCLE_BRANCH}-$CIRCLE_SHA1" \
-# --form description="${CIRCLE_BRANCH}-$CIRCLE_SHA1" \
-# https://scan.coverity.com/builds?project=$CIRCLE_PROJECT_USERNAME
-
- # Then update the translation template on launchpad
- echo "Updating the translation template on launchpad..."
- sed -i '/INTEGER/d' po/navit.pot
- cp po/navit.pot $CIRCLE_ARTIFACTS/
- curl "https://translations.launchpad.net/navit/${CIRCLE_BRANCH}/+translations-upload" -H "$lp_cookie" -H "Referer: https://translations.launchpad.net/navit/${CIRCLE_BRANCH}/+translations-upload" -F file=@po/navit.pot | grep title
-fi
-
if [[ "$CIRCLE_ARTIFACTS" != "" ]]; then
echo "Copying icons to artifacts..."
cp -r navit/icons $CIRCLE_ARTIFACTS