From: Anton Yuzhaninov Date: Sat, 27 Oct 2018 21:22:40 +0000 (-0400) Subject: Sync lua coverage with .drone.yml X-Git-Tag: 1.8.2~116^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F2612%2Fhead;p=rspamd.git Sync lua coverage with .drone.yml --- 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