summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Henderson <dhenderson@gmail.com>2018-03-03 20:07:08 -0500
committerDave Henderson <dhenderson@gmail.com>2018-03-03 20:07:08 -0500
commite866e4ddf2b3696bfe8f8ce98172fd35b1eda2e4 (patch)
tree2f55a79bdd899b8c116abe23bc200d57f9279a1b
parent5b4029c222140f17991e9f60fec0f137259796c9 (diff)
Log test output in CI
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
-rw-r--r--circle.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/circle.yml b/circle.yml
index d3e27ba5..b2420ba7 100644
--- a/circle.yml
+++ b/circle.yml
@@ -11,7 +11,9 @@ jobs:
- run: make build
- run:
name: make test
- command: make test | go-junit-report > $CIRCLE_TEST_REPORTS/report.xml
+ command: |
+ trap "go-junit-report < $CIRCLE_TEST_REPORTS/go-test.out > $CIRCLE_TEST_REPORTS/report.xml" EXIT
+ make test | tee $CIRCLE_TEST_REPORTS/go-test.out
- run: make lint
- run: make integration
- store_artifacts: