1
0
mirror of https://github.com/MontFerret/ferret.git synced 2025-01-18 03:22:02 +02:00

Set codecov support for all branches

This commit is contained in:
Tim Voronov 2018-11-04 23:21:03 -05:00
parent 7fd5af6110
commit 34b7efa859

View File

@ -26,13 +26,11 @@ test:
cover:
go test -race -coverprofile=coverage.txt -covermode=atomic ${DIR_PKG}/...
ifeq ($(TRAVIS_BRANCH)$(TRAVIS_PULL_REQUEST), masterfalse)
ifneq ($(CODECOV_TOKEN), )
curl -s https://codecov.io/bash | bash
else
$(error "CODECOV_TOKEN token is required")
endif
endif
e2e:
go run ${DIR_E2E}/main.go --tests ${DIR_E2E}/tests --pages ${DIR_E2E}/pages