summaryrefslogtreecommitdiffstats
path: root/.drone.yml
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2022-12-11 10:14:57 +0000
committerVsevolod Stakhov <vsevolod@rspamd.com>2022-12-11 10:14:57 +0000
commite8217567661255e0ee889684d2b0b1ebe0c41353 (patch)
tree04bbd0cfed868c4f4674298abacf78a4cd67b43a /.drone.yml
parent5d12127d4a5843174f516559e39afe580fd1af6c (diff)
downloadrspamd-e8217567661255e0ee889684d2b0b1ebe0c41353.tar.gz
rspamd-e8217567661255e0ee889684d2b0b1ebe0c41353.zip
[Ci] Fail on unit test failure
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.drone.yml b/.drone.yml
index 7851eb557..baa13d46d 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -110,6 +110,9 @@ steps:
if [ $EXIT_CODE -gt 128 ]; then
gdb --batch -ex 'thread apply all bt full' -c /var/tmp/*.rspamd-test.core ./rspamd-test;
exit $EXIT_CODE;
+ fi;
+ if [ $EXIT_CODE -ne 0 ]; then
+ exit $EXIT_CODE;
fi
# luacov-coveralls reads luacov.stats.out written by rspamd-test using luacov module
# and writes json report for coveralls.io service
@@ -279,6 +282,6 @@ trigger:
---
kind: signature
-hmac: 15dc479c49116a6282da0a6cdf1f6a38855c95622992ca173369532a6e3b7e53
+hmac: 5bd249274f2c2185fa3c572e9d64b62456d78e3140a9afa245bd6e65c9b9ba1e
...