Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makefile: update the coverage test #1380

Merged
merged 10 commits into from
Dec 17, 2018
Merged

Makefile: update the coverage test #1380

merged 10 commits into from
Dec 17, 2018

Conversation

nolouch
Copy link
Contributor

@nolouch nolouch commented Dec 13, 2018

What problem does this PR solve?

update the coverage test

What is changed and how it works?

use overalls and goveralls.

Signed-off-by: nolouch <nolouch@gmail.com>
@nolouch
Copy link
Contributor Author

nolouch commented Dec 13, 2018

/run-unit-test

1 similar comment
@nolouch
Copy link
Contributor Author

nolouch commented Dec 14, 2018

/run-unit-test

Makefile Outdated
travis_coverage:
ifeq ("$(TRAVIS_COVERAGE)", "1")
GOPATH=$(VENDOR) $(HOME)/gopath/bin/goveralls -service=travis-ci -ignore $(COVERIGNORE)
@$(GOFAIL_ENABLE)
CGO_ENABLED=1 ./scripts/retool do $(OVERALLS) -project=github.com/pingcap/pd -covermode=count -ignore='.git,vendor' || { $(GOFAIL_DISABLE); exit 1; }
Copy link
Member

@rleungx rleungx Dec 17, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to ignore more things such as docs

@rleungx rleungx merged commit cc7d899 into tikv:master Dec 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants