aboutsummaryrefslogtreecommitdiffstats
path: root/circle.yml
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2017-03-06 15:52:55 +0200
committerAndrew Lewis <nerf@judo.za.org>2017-03-06 16:17:10 +0200
commitefbf2c75c52473088c310dbd5281bfbd0d53d173 (patch)
treee5e2f8bf57adc65b19c920e052727d848d72d7f1 /circle.yml
parentc3a2ef5ad853b6af30feb97ffa078523ae8cdefa (diff)
downloadrspamd-efbf2c75c52473088c310dbd5281bfbd0d53d173.tar.gz
rspamd-efbf2c75c52473088c310dbd5281bfbd0d53d173.zip
[Test] Try speed up build in CI
Diffstat (limited to 'circle.yml')
-rw-r--r--circle.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/circle.yml b/circle.yml
index f43e3b0f0..e50ac346b 100644
--- a/circle.yml
+++ b/circle.yml
@@ -4,14 +4,14 @@ dependencies:
- 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
- gem install coveralls-lcov
- sudo pip install demjson ipaddress psutil robotframework
- - cd .. && wget http://download.redis.io/redis-stable.tar.gz && tar xvzf redis-stable.tar.gz && cd redis-stable && make && sudo cp src/redis-cli /usr/bin/
+ - 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
+ - make install -j`nproc`
- RSPAMADM=../install/bin/rspamadm RSPAMC=../install/bin/rspamc RSPAMD=../install/bin/rspamd 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; fi