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:
parent
7fd5af6110
commit
34b7efa859
2
Makefile
2
Makefile
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user