瀏覽代碼

Indent shell command for readability

tags/1.8.2
Anton Yuzhaninov 5 年之前
父節點
當前提交
e68fabf1e1
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3
    3
      .drone.yml

+ 3
- 3
.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

Loading…
取消
儲存