Skip to content

Commit

Permalink
FIX goveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
nlamirault committed Feb 10, 2015
1 parent 86897f9 commit fceb3cf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,12 @@ covoutput:
# @GOPATH=$(GO_PATH) go tool cover -html=coverage.out
@GOPATH=$(GO_PATH) go tool cover -func=coverage.out

coveralls:
coveralls: build
@GOPATH=$(GO_PATH) go get -v github.com/axw/gocov/gocov
@GOPATH=$(GO_PATH) go get golang.org/x/tools/cmd/cover
@GOPATH=$(GO_PATH) go get -v github.com/mattn/goveralls
@GOPATH=$(GO_PATH) $(GOVERALLS) -v -service drone.io $(COVERALLS_TOKEN)
@GOPATH=$(GO_PATH) go test -covermode=count -coverprofile=profile.cov
@GOPATH=$(GO_PATH) $(GOVERALLS) -coverprofile=profile.cov -service=travis-ci $(COVERALLS_TOKEN)

release: clean build
@echo -e "$(OK_COLOR)[$(APP)] Make archive $(VERSION) $(NO_COLOR)"
Expand Down

0 comments on commit fceb3cf

Please sign in to comment.