Fixed codecov integration

This commit is contained in:
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* mumbledj*
coverage.txt
*.coverprofile

View file

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

View file

@ -7,7 +7,8 @@ mumbledj: ## Default action. Builds MumbleDJ.
.PHONY: test .PHONY: test
test: ## Runs unit tests for MumbleDJ. 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 .PHONY: clean
clean: ## Removes compiled MumbleDJ binaries. clean: ## Removes compiled MumbleDJ binaries.