aboutsummaryrefslogtreecommitdiffstats
path: root/circle.yml
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2016-09-09 17:13:24 +0200
committerAndrew Lewis <nerf@judo.za.org>2016-09-09 17:13:24 +0200
commitfa61684c94877c379f2a42156e24893086b21225 (patch)
treec6b6ae700573135c3c96671973f8e41792600463 /circle.yml
parent0625542be15f6e3a9cc6209ce544adaa2a51bc30 (diff)
downloadrspamd-fa61684c94877c379f2a42156e24893086b21225.tar.gz
rspamd-fa61684c94877c379f2a42156e24893086b21225.zip
[Minor] Generate XUnit output from tests
Diffstat (limited to 'circle.yml')
-rw-r--r--circle.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/circle.yml b/circle.yml
index 6aa8555e8..2b66f6bb3 100644
--- a/circle.yml
+++ b/circle.yml
@@ -10,9 +10,10 @@ test:
- mkdir ../build ; mkdir ../install ; cd ../build
- cmake ../rspamd -DDBDIR=/nana -DENABLE_COVERAGE=ON -DCMAKE_INSTALL_PREFIX=../install
- make install
- - RSPAMADM=../install/bin/rspamadm RSPAMC=../install/bin/rspamc RSPAMD=../install/bin/rspamd sudo -E robot ../rspamd/test/functional/cases
+ - RSPAMADM=../install/bin/rspamadm RSPAMC=../install/bin/rspamc RSPAMD=../install/bin/rspamd sudo -E robot -x xunit.xml ../rspamd/test/functional/cases
- lcov --no-external -b ../rspamd -d ../rspamd -c --output-file coverage.info
- ln -s ../rspamd/src/ragel ../rspamd
- if [ ! -z $COVERALLS_REPO_TOKEN ]; then coveralls-lcov -t ${COVERALLS_REPO_TOKEN} coverage.info; fi
post:
- for i in output.xml log.html report.html; do mv $i $CIRCLE_ARTIFACTS; done
+ - mkdir -p $CIRCLE_TEST_REPORTS/rspamd ; mv xunit.xml $CIRCLE_TEST_REPORTS/rspamd