Skip to content

Commit

Permalink
coverity analysis error related modifications
Browse files Browse the repository at this point in the history
  • Loading branch information
KissPeter committed Sep 13, 2018
1 parent a33a0bf commit 04b83a1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .travis-coverity-scan-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ else
echo -e "\033[33;1mOops!Coverity Scan analysis engine NOT authorized until $WHEN.\033[0m"
permit=false
fi

fi

# Download Coverity Scan Analysis Tool
echo -e "\033[33;1mDownloading Coverity Scan Analysis Tool...\033[0m"
Expand Down Expand Up @@ -59,7 +59,8 @@ response=$(curl \
--form description="Travis CI build" \
${UPLOAD_URL})
status_code=$(echo "$response" | sed -n '$p')
if [ "$status_code" != "201" ]; then
if [ "$status_code" != "201" ]
then
TEXT=$(echo "$response" | sed '$d')
echo -e "\033[33;1mCoverity Scan upload failed: $TEXT.\033[0m"
exit 1
Expand Down

0 comments on commit 04b83a1

Please sign in to comment.