Skip to content

Commit

Permalink
Fix circleci build
Browse files Browse the repository at this point in the history
  • Loading branch information
abice committed Aug 14, 2017
1 parent b1eab07 commit 37cb63e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
COVERAGEDIR = coverage
SERVICE=local
ifdef CIRCLE_ARTIFACTS
COVERAGEDIR = $(CIRCLE_ARTIFACTS)
ifdef CIRCLE_WORKING_DIRECTORY
COVERAGEDIR = $(CIRCLE_WORKING_DIRECTORY)/coverage
SERVICE=circle-ci
endif

Expand Down Expand Up @@ -36,6 +36,7 @@ cover: gen-test

tc: test cover
coveralls:
if [ ! -d $(COVERAGEDIR) ]; then mkdir $(COVERAGEDIR); fi
gover $(COVERAGEDIR) $(COVERAGEDIR)/coveralls.coverprofile
goveralls -coverprofile=$(COVERAGEDIR)/coveralls.coverprofile -service=$(SERVICE) -repotoken=$(COVERALLS_TOKEN)

Expand Down

0 comments on commit 37cb63e

Please sign in to comment.