1
0
mirror of https://github.com/volatiletech/authboss.git synced 2025-01-08 04:03:53 +02:00

Fix circle test running

This commit is contained in:
Aaron L 2016-08-07 23:53:53 -07:00
parent 7a7ca7c5c7
commit 4dcfef3469

View File

@ -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