aboutsummaryrefslogtreecommitdiffstats
path: root/circle.yml
diff options
context:
space:
mode:
authorAlexander Moisseev <moiseev@mezonplus.ru>2018-06-24 14:40:44 +0300
committerAlexander Moisseev <moiseev@mezonplus.ru>2018-06-24 14:40:44 +0300
commit2f873f6c8c2e76b84e5876c8112b7b914928c0c2 (patch)
treed7db1e3800257eb55ab009d0e33295b16806530d /circle.yml
parent56d21aff0ef37216e17f2b115439a11ec3855588 (diff)
downloadrspamd-2f873f6c8c2e76b84e5876c8112b7b914928c0c2.tar.gz
rspamd-2f873f6c8c2e76b84e5876c8112b7b914928c0c2.zip
[CI] Migrate to CircleCI 2.0
Diffstat (limited to 'circle.yml')
-rw-r--r--circle.yml22
1 files changed, 0 insertions, 22 deletions
diff --git a/circle.yml b/circle.yml
deleted file mode 100644
index 7efefae4b..000000000
--- a/circle.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-dependencies:
- pre:
- - sudo apt-get update -qq || true
- - sudo apt-get install -qq cmake gcc lcov libevent-dev libglib2.0-dev libgmime-2.6-dev libluajit-5.1-dev liblua5.1-0-dev libmagic-dev libpcre3-dev libsqlite3-dev libssl-dev luarocks make python-dev ragel redis-server libgd-dev libfann-dev opendkim-tools
- - gem install coveralls-lcov
- - sudo pip install demjson psutil==5.4.3 robotframework
- - cd .. && wget http://download.redis.io/redis-stable.tar.gz && tar xvzf redis-stable.tar.gz && cd redis-stable && make -j`nproc` && sudo cp src/redis-cli /usr/bin/
- - sudo luarocks install luacheck
-
-test:
- override:
- - 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
- post:
- - for i in output.xml log.html report.html; do mv $i $CIRCLE_ARTIFACTS; done
- - mkdir -p $CIRCLE_TEST_REPORTS/rspamd ; mv xunit.xml $CIRCLE_TEST_REPORTS/rspamd