mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-13 18:07:51 +08:00
Upload coverage to codecov.io.
This commit is contained in:
parent
d718625d39
commit
a19ae30d13
7
Makefile
7
Makefile
|
@ -43,6 +43,11 @@ goveralls: cover/all
|
|||
&& $(FIRST_GOPATH)/bin/goveralls -coverprofile=cover/all -service=travis-ci \
|
||||
|| echo "not sending to coveralls"
|
||||
|
||||
codecov: cover/all
|
||||
test "$(TRAVIS_PULL_REQUEST)" = false \
|
||||
&& bash <(curl -s https://codecov.io/bash) -f cover/all \
|
||||
|| echo "not sending to codecov.io"
|
||||
|
||||
upload:
|
||||
test "$(TRAVIS_OS_NAME)" = linux \
|
||||
&& echo "$(TRAVIS_GO_VERSION)" | grep -q '^1.9' \
|
||||
|
@ -52,6 +57,6 @@ upload:
|
|||
&& ./elvish build-and-upload.elv \
|
||||
|| echo "not build-and-uploading"
|
||||
|
||||
travis: goveralls testmain upload
|
||||
travis: goveralls codecov testmain upload
|
||||
|
||||
.PHONY: default get generate test goveralls upload travis
|
||||
|
|
Loading…
Reference in New Issue
Block a user