Skip to content

Commit

Permalink
coveralls removed for forked repos and alternate junit test path added (
Browse files Browse the repository at this point in the history
  • Loading branch information
zlav committed Sep 27, 2018
1 parent 48afaf4 commit ce2e3bf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Expand Up @@ -90,7 +90,11 @@ unit-test:

.PHONY: junit-test
junit-test: $(GO_JUNIT_REPORT) $(GOVERALLS)
goveralls -v -service=circle-ci -repotoken=$(COVERALLS_TOKEN) -flags "-short" | go-junit-report
if [ "$($COVERALLS_TOKEN)" == "" ]; then \
goveralls -v -service=circle-ci -repotoken=$(COVERALLS_TOKEN) -flags "-short" | go-junit-report; \
else \
go test -v ./... | go-junit-report; \
fi;

.PHONY: integration-test
integration-test: docker-test
Expand Down

0 comments on commit ce2e3bf

Please sign in to comment.