diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-03-30 14:28:30 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-03-30 14:28:30 +0100 |
commit | 76e43a61069fa2a6996016ccab337e35cf8732e9 (patch) | |
tree | 247f2fb2c65866375cfb8cdbcf2d1465c57501cd /circle.yml | |
parent | 8160aa803846616f28d94519486d310a771f58bf (diff) | |
download | rspamd-76e43a61069fa2a6996016ccab337e35cf8732e9.tar.gz rspamd-76e43a61069fa2a6996016ccab337e35cf8732e9.zip |
[Test] Add unit tests to CI
Diffstat (limited to 'circle.yml')
-rw-r--r-- | circle.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/circle.yml b/circle.yml index 0875e5c93..dcb3ee7a5 100644 --- a/circle.yml +++ b/circle.yml @@ -12,6 +12,8 @@ test: - mkdir ../build ; mkdir ../install ; cd ../build - cmake ../rspamd -DDBDIR=/nana -DENABLE_COVERAGE=ON -DCMAKE_INSTALL_PREFIX=../install -DENABLE_HIREDIS=ON - make install -j`nproc` + - make rspamd-test -j`nproc` + - test/rspamd-test -p /rspamd/lua - RSPAMD_INSTALLROOT=../install sudo -E robot -x xunit.xml --exclude isbroken ../rspamd/test/functional/cases - lcov --no-external -b ../rspamd -d ../rspamd -c --output-file coverage.info - if [ ! -z $COVERALLS_REPO_TOKEN ]; then coveralls-lcov -t ${COVERALLS_REPO_TOKEN} coverage.info || true; fi |