aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-09-09 16:37:40 +0100
committerGitHub <noreply@github.com>2016-09-09 16:37:40 +0100
commit9f25cdc5550389a6ac9e937f934ea1525e750c2a (patch)
tree048a79633759e2cd53f3617acd84f44da7e9cdb6
parenta8f04e06d0900487f99caecf8b421f1ee25e5c03 (diff)
parentfa61684c94877c379f2a42156e24893086b21225 (diff)
downloadrspamd-9f25cdc5550389a6ac9e937f934ea1525e750c2a.tar.gz
rspamd-9f25cdc5550389a6ac9e937f934ea1525e750c2a.zip
Merge pull request #941 from fatalbanana/xunit
[Minor] Generate XUnit output from tests
-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