From e63d5ebfa03e050702453e5bd9fa62e3f1c81b9c Mon Sep 17 00:00:00 2001 From: Matthieu Grieger Date: Tue, 21 Jun 2016 19:31:16 -0700 Subject: [PATCH] Fixed codecov integration --- .gitignore | 2 ++ .travis.yml | 1 + Makefile | 3 ++- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 56e780d..ce15529 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ mumbledj* +coverage.txt +*.coverprofile diff --git a/.travis.yml b/.travis.yml index 68eb960..8e2a4ea 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,7 @@ go: before_install: - go get github.com/Masterminds/glide + - go get github.com/go-playground/overalls script: - make test diff --git a/Makefile b/Makefile index f994d61..f34cc6b 100644 --- a/Makefile +++ b/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.