diff options
author | Anton Yuzhaninov <citrin+git@citrin.ru> | 2018-10-14 04:38:57 -0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-10-14 09:38:57 +0100 |
commit | ee0de908033cf7eb9b7cc1e4bee13793f61ffa24 (patch) | |
tree | ce0b7035f33523f998ea19806642d9422f9abca7 /contrib | |
parent | 6163b64177437d39a8e329fc3bbb7347b9f8fd99 (diff) | |
download | rspamd-ee0de908033cf7eb9b7cc1e4bee13793f61ffa24.tar.gz rspamd-ee0de908033cf7eb9b7cc1e4bee13793f61ffa24.zip |
Drone coverage fix (#2592)
* Build as nobody
This showld fix coverage files writing. At least some coverage files
(*.gcda, *.gcno) are written by rspamd running as nobody.
* Comment luacov-coveralls
* Run rspamd-test as nobody too
* Run coveralls from build root (/rspamd/build)
It need to find all `.gcda` files.
* Hack for coveralls was moved to Docker image
* Add test debug
* More debug
* Workaround to writing *.gcda from different users
*.gcda files written in parallel by root and by nobody
* Remove debug
* Use current build number instead of previous
* Remove unused variable
* Add more parameters
- If CI detected we don't need to check if service_job_id and other
fields in json already filled - this info anyway comes from environment
- coveralls.io API is not documented. Code from:
https://github.com/lemurheavy/coveralls-ruby/
and
https://github.com/coveralls-clients/coveralls-python/
was used as an example.
* In case of error there is no url in json respnse
Print message field anyway - it can contain useful error message.
* Add debug
* Simplify
* Fix: for pull request CI_BUILD_EVENT set to 'pull_request'
* Remove debug
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions