diff --git a/.travis/test-coverage.sh b/.travis/test-coverage.sh index 7df8aa6a..a11515d4 100755 --- a/.travis/test-coverage.sh +++ b/.travis/test-coverage.sh @@ -31,5 +31,5 @@ echo "mode: set" > $ACC_OUT find . -maxdepth 10 -type d | while read d; do testCover $d || exit; done # Upload the coverage profile to coveralls.io -[ -n "$COVERALLS_TOKEN" ] && goveralls -coverprofile=$ACC_OUT -service=travis-ci -repotoken $COVERALLS_TOKEN +[ -n "$COVERALLS_TOKEN" ] && ( goveralls -coverprofile=$ACC_OUT -service=travis-ci -repotoken $COVERALLS_TOKEN || echo -e '\n\e[31mCoveralls failed.\n' )