summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.drone.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.drone.yml b/.drone.yml
index f23fa93e6..98bd72562 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -52,9 +52,9 @@ pipeline:
# shell sets exit status of a process terminated by a signal to '128 + signal-number'
# if rspamd-test was terminated by a signal it should be SIGSEGV or SIGABRT, try to examine core
- >
- if [ $EXIT_CODE -gt 128 ];
- then gdb -c /var/tmp/*.rspamd-test.core ./rspamd-test -ex "set pagination 0" -ex "thread apply all bt full" --batch;
- exit $EXIT_CODE;
+ if [ $EXIT_CODE -gt 128 ]; then
+ gdb -c /var/tmp/*.rspamd-test.core ./rspamd-test -ex "set pagination 0" -ex "thread apply all bt full" --batch;
+ 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