Fixed codecov integration
This commit is contained in:
parent
f193a3ae03
commit
e63d5ebfa0
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1 +1,3 @@
|
|||
mumbledj*
|
||||
coverage.txt
|
||||
*.coverprofile
|
||||
|
|
|
@ -9,6 +9,7 @@ go:
|
|||
|
||||
before_install:
|
||||
- go get github.com/Masterminds/glide
|
||||
- go get github.com/go-playground/overalls
|
||||
|
||||
script:
|
||||
- make test
|
||||
|
|
3
Makefile
3
Makefile
|
@ -7,7 +7,8 @@ mumbledj: ## Default action. Builds MumbleDJ.
|
|||
|
||||
.PHONY: test
|
||||
test: ## Runs unit tests for MumbleDJ.
|
||||
@env GO15VENDOREXPERIMENT="1" go test $(dirs)
|
||||
@env GO15VENDOREXPERIMENT="1" overalls -project=github.com/matthieugrieger/mumbledj -covermode=atomic
|
||||
@mv overalls.coverprofile coverage.txt
|
||||
|
||||
.PHONY: clean
|
||||
clean: ## Removes compiled MumbleDJ binaries.
|
||||
|
|
Reference in a new issue