Temporarily disable code coverage reporting (#1685)

Closes #1662
This commit is contained in:
Alexandre Conrad 2018-01-22 05:29:11 -08:00 committed by Berker Peksag
parent f12ef22281
commit 34527aa3ba

View File

@ -28,20 +28,3 @@ cache:
directories:
- .tox
- $HOME/.cache/pip
after_script:
- |
if [ ! -f coverage.xml ]; then
echo "No coverage.xml found; skipping sending coverage to couverture.io"
return
fi
if [ $TRAVIS_PULL_REQUEST != false ]; then
REAL_COMMIT=$(git log -n 1 $TRAVIS_COMMIT_RANGE --format="%H")
PR_NUM=$TRAVIS_PULL_REQUEST
else
REAL_COMMIT=$TRAVIS_COMMIT
fi
curl \
--verbose \
--header "X-Couverture-Pull-Request: $PR_NUM" \
--data-binary @coverage.xml \
"https://app.couverture.io/coverage/github/benoitc/gunicorn/$REAL_COMMIT/$TOXENV"