Travis: Fix coveralls upload.

This commit is contained in:
Florian Walch 2016-07-17 12:42:43 +02:00
parent a5358688bc
commit 0aa687a15d

View File

@ -3,8 +3,6 @@
set -e set -e
set -o pipefail set -o pipefail
if [[ -n "${CI_TARGET}" ]]; then if [[ -n "${GCOV}" ]]; then
exit coveralls --gcov "$(which "${GCOV}")" --encoding iso-8859-1 || echo 'coveralls upload failed.'
fi fi
[ "$USE_GCOV" = on ] && { coveralls --gcov "$(which "${GCOV}")" --encoding iso-8859-1 || echo 'coveralls upload failed.' ; }