diff --git a/circle.yml b/circle.yml index 8a493d8..a205d3d 100644 --- a/circle.yml +++ b/circle.yml @@ -16,8 +16,7 @@ test: override: - > cd /home/ubuntu/.go_project/src/gopkg.in/authboss.v0 && - go test -v -race ./... | - /home/ubuntu/.go_project/bin/go-junit-report >> $CIRCLE_TEST_REPORTS/junit.xml + go test -v -race ./... > $CIRCLE_ARTIFACTS/gotest.txt - > cd /home/ubuntu/.go_project/src/gopkg.in/authboss.v0 && echo "mode: set" > $CIRCLE_ARTIFACTS/coverage.txt && @@ -27,6 +26,7 @@ test: tail -n +2 coverage.tmp >> $CIRCLE_ARTIFACTS/coverage.txt; done post: + - cat $CIRCLE_ARTIFACTS/gotest.txt | /home/ubuntu/.go_project/bin/go-junit-report > $CIRCLE_TEST_REPORTS/junit.xml - > cd /home/ubuntu/.go_project/src/gopkg.in/authboss.v0 && /home/ubuntu/.go_project/bin/goveralls -coverprofile=$CIRCLE_ARTIFACTS/coverage.txt -service=circle-ci -repotoken=$COVERALLS_TOKEN