Fix circleCI error reporting

This commit is contained in:
Patrick O'brien 2016-08-08 17:03:21 +10:00
parent a073752df2
commit 342038f288

View file

@ -6,6 +6,6 @@ test:
- psql -U ubuntu sqlboiler < ./testdata/test_schema.sql - psql -U ubuntu sqlboiler < ./testdata/test_schema.sql
- ./sqlboiler postgres - ./sqlboiler postgres
override: override:
- > - go test -v -race ./... > $CIRCLE_ARTIFACTS/gotest.txt
go test -v -race ./... | post:
go-junit-report >> $CIRCLE_TEST_REPORTS/junit.xml - cat $CIRCLE_ARTIFACTS/gotest.txt | go-junit-report > $CIRCLE_TEST_REPORTS/junit.xml