Fixed codecov integration

pull/153/head
Matthieu Grieger 2016-06-21 19:31:16 -07:00
parent f193a3ae03
commit e63d5ebfa0
3 changed files with 5 additions and 1 deletions

2
.gitignore vendored
View File

@ -1 +1,3 @@
mumbledj*
coverage.txt
*.coverprofile

View File

@ -9,6 +9,7 @@ go:
before_install:
- go get github.com/Masterminds/glide
- go get github.com/go-playground/overalls
script:
- make test

View File

@ -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.