diff options
author | Anton Yuzhaninov <citrin+git@citrin.ru> | 2018-11-13 16:45:09 -0500 |
---|---|---|
committer | Anton Yuzhaninov <citrin+git@citrin.ru> | 2018-11-13 16:59:16 -0500 |
commit | 5496ce20f0b43700809ac0906a72a168398e866b (patch) | |
tree | 1173c93f67dc5210888ae963b64352e89d55cc52 /.drone.yml | |
parent | b630489b65c7a9e70ed615fa07b0450f7f7f9278 (diff) | |
download | rspamd-5496ce20f0b43700809ac0906a72a168398e866b.tar.gz rspamd-5496ce20f0b43700809ac0906a72a168398e866b.zip |
Run unit tests on Fedora (clang build)
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml index a5855d5b0..da1386e26 100644 --- a/.drone.yml +++ b/.drone.yml @@ -105,6 +105,26 @@ pipeline: - luacov-coveralls -o /rspamd/build/unit_test_lua.json --dryrun - exit $EXIT_CODE + test-fedora-clang: + # https://github.com/rspamd/rspamd-build-docker/blob/master/fedora-test/Dockerfile + image: rspamd/ci-fedora-test + pull: true + group: tests + commands: + - test "$(id -un)" = nobody + - ulimit -c unlimited + - cd /rspamd/fedora/build/test + - set +e + - ./rspamd-test -p /rspamd/lua; EXIT_CODE=$? + - set -e + # 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 --batch -ex 'bt' -c /var/tmp/*.rspamd-test.core ./rspamd-test; + fi + - exit $EXIT_CODE + functional: # https://github.com/rspamd/rspamd-build-docker/blob/master/ubuntu-test-func/Dockerfile image: rspamd/ci-ubuntu-test-func |