summaryrefslogtreecommitdiffstats
path: root/.circleci
diff options
context:
space:
mode:
authorAnton Yuzhaninov <citrin+git@citrin.ru>2018-10-27 17:22:40 -0400
committerAnton Yuzhaninov <citrin+git@citrin.ru>2018-10-27 17:22:40 -0400
commit8fb8f139e5e2e31219887e77067d738e12fd573c (patch)
tree92633639544d93d2950d69742882b67608f56f38 /.circleci
parent3ebf458996b18c42f78ff35ed7fbd66179dc2eea (diff)
downloadrspamd-8fb8f139e5e2e31219887e77067d738e12fd573c.tar.gz
rspamd-8fb8f139e5e2e31219887e77067d738e12fd573c.zip
Sync lua coverage with .drone.yml
Diffstat (limited to '.circleci')
-rw-r--r--.circleci/config.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index fd47c110b..1be12ac86 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -113,6 +113,10 @@ jobs:
- run: cd ../build
# see coverage notice in "build" stage
- run: set +e; RSPAMD_INSTALLROOT=../install sudo -E bash -c "umask 0000; robot -x xunit.xml --exclude isbroken ../project/test/functional/cases"; echo "export RETURN_CODE=$?" >> $BASH_ENV
+ # luacov-coveralls reads luacov.stats.out generated by functional tests
+ # (see collect_lua_coverage() in test/functional/lib/rspamd.py)
+ # and writes json report for coveralls.io
+ - run: luacov-coveralls -o lua_coverage_report.json --dryrun
- *capture_coverage_data