From 07c3599d16b987b6c5e7075b6b4603cda14a4f1c Mon Sep 17 00:00:00 2001 From: Benjamin Pannell Date: Wed, 20 Jul 2016 00:01:06 +0200 Subject: [PATCH] ci: Add junit output for CircleCI test runs --- circle.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/circle.yml b/circle.yml index d6443e1..3981df8 100644 --- a/circle.yml +++ b/circle.yml @@ -24,4 +24,8 @@ dependencies: test: pre: - mongo --version - - mongo --eval 'db.hostInfo()' \ No newline at end of file + - mongo --eval 'db.hostInfo()' + override: + - mocha test --reporter mocha-junit-reporter --opts test/mocha.opts dist/test: + environment: + MOCHA_FILE: $CIRCLE_TEST_REPORTS/junit/test-results.xml \ No newline at end of file