Unverified Commit 227ace0f by Edward Thomson Committed by GitHub

Merge pull request #4764 from tiennou/ci/coverity-only

ci: Correct the status code check so Coverity doesn't force-fail Travis
parents 9913e2df 351ca661
...@@ -59,7 +59,7 @@ STATUS_CODE="$(echo "$HTML" | tail -n1)" ...@@ -59,7 +59,7 @@ STATUS_CODE="$(echo "$HTML" | tail -n1)"
echo "${BODY}" echo "${BODY}"
if [ "${STATUS_CODE}" != "200" -o "${STATUS_CODE}" != "201" ]; then if [ "${STATUS_CODE}" != "200" -a "${STATUS_CODE}" != "201" ]; then
echo "Received error code ${STATUS_CODE} from Coverity" echo "Received error code ${STATUS_CODE} from Coverity"
exit 1 exit 1
fi fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment