Switch from coveralls to codecov
This commit is contained in:
parent
c9f8ff74ca
commit
f193a3ae03
|
@ -9,14 +9,12 @@ go:
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- go get github.com/Masterminds/glide
|
- go get github.com/Masterminds/glide
|
||||||
- go get github.com/mattn/goveralls
|
|
||||||
- go get golang.org/x/tools/cmd/cover
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- make test
|
- make test
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- make coveralls
|
- bash <(curl -s https://codecov.io/bash)
|
||||||
|
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
|
|
4
Makefile
4
Makefile
|
@ -27,10 +27,6 @@ bindata: ## Regenerates bindata.go with an updated configuration file.
|
||||||
@go get -u github.com/jteeuwen/go-bindata/...
|
@go get -u github.com/jteeuwen/go-bindata/...
|
||||||
@go-bindata config.yaml
|
@go-bindata config.yaml
|
||||||
|
|
||||||
.PHONY: coveralls
|
|
||||||
coveralls: ## Performs coveralls tests.
|
|
||||||
@goveralls -service=travis-ci .
|
|
||||||
|
|
||||||
.PHONY: help
|
.PHONY: help
|
||||||
help: ## Shows this helptext.
|
help: ## Shows this helptext.
|
||||||
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
|
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
|
||||||
|
|
Reference in a new issue