Makefile: unit_test_goveralls: Mask internal goveralls errors.

This commit is contained in:
Michael Berlin 2015-07-23 14:44:26 -07:00
Родитель d32df71caf
Коммит 300242059c
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -66,7 +66,9 @@ unit_test_goveralls:
# Travis doesn't set the token for forked pull requests, so skip
# upload if COVERALLS_TOKEN is unset.
if ! [ -z "$$COVERALLS_TOKEN" ]; then \
goveralls -coverprofile=gover.coverprofile -repotoken $$COVERALLS_TOKEN; \
# -shallow ensures that goveralls does not return with a failure \
# if Coveralls returns a 500 http error or higher (e.g. when the site is in read-only mode). \
goveralls -shallow -coverprofile=gover.coverprofile -repotoken $$COVERALLS_TOKEN; \
fi
ENABLE_MEMCACHED := $(shell test -x /usr/bin/memcached && echo "-m")