From 76e43a61069fa2a6996016ccab337e35cf8732e9 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 30 Mar 2018 14:28:30 +0100 Subject: [Test] Add unit tests to CI --- circle.yml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'circle.yml') 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 -- cgit v1.2.3