mirror of
https://github.com/MontFerret/ferret.git
synced 2025-04-15 11:56:42 +02:00
Fixed codecov script exection
This commit is contained in:
parent
fbeedbd03e
commit
b3e0a68cd0
2
Makefile
2
Makefile
@ -28,7 +28,7 @@ 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)
|
ifeq ($(TRAVIS_BRANCH)$(TRAVIS_PULL_REQUEST), masterfalse)
|
||||||
ifneq ($(CODECOV_TOKEN), )
|
ifneq ($(CODECOV_TOKEN), )
|
||||||
bash <(curl -s https://codecov.io/bash)
|
curl -s https://codecov.io/bash | bash
|
||||||
else
|
else
|
||||||
$(error "CODECOV_TOKEN token is required")
|
$(error "CODECOV_TOKEN token is required")
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user