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:
|
cover:
|
||||||
go test -race -coverprofile=coverage.txt -covermode=atomic ${DIR_PKG}/...
|
go test -race -coverprofile=coverage.txt -covermode=atomic ${DIR_PKG}/...
|
||||||
ifeq ($(TRAVIS_BRANCH)$(TRAVIS_PULL_REQUEST), masterfalse)
|
|
||||||
ifneq ($(CODECOV_TOKEN), )
|
ifneq ($(CODECOV_TOKEN), )
|
||||||
curl -s https://codecov.io/bash | bash
|
curl -s https://codecov.io/bash | bash
|
||||||
else
|
else
|
||||||
$(error "CODECOV_TOKEN token is required")
|
$(error "CODECOV_TOKEN token is required")
|
||||||
endif
|
endif
|
||||||
endif
|
|
||||||
|
|
||||||
e2e:
|
e2e:
|
||||||
go run ${DIR_E2E}/main.go --tests ${DIR_E2E}/tests --pages ${DIR_E2E}/pages
|
go run ${DIR_E2E}/main.go --tests ${DIR_E2E}/tests --pages ${DIR_E2E}/pages
|
||||||
|
Loading…
Reference in New Issue
Block a user