diff options
author | Andrew Lewis <nerf@judo.za.org> | 2016-08-02 15:18:29 +0100 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2016-08-02 15:18:29 +0100 |
commit | 924a4b40a8b681061d7f3e52c84ab75299d65cf4 (patch) | |
tree | a20ef764b57877c5e928938735b6f4ef0e776e09 /circle.yml | |
parent | 2b790c742f22060a6b1de90749c42f756e445000 (diff) | |
download | rspamd-924a4b40a8b681061d7f3e52c84ab75299d65cf4.tar.gz rspamd-924a4b40a8b681061d7f3e52c84ab75299d65cf4.zip |
[Minor] Integrate coveralls
Diffstat (limited to 'circle.yml')
-rw-r--r-- | circle.yml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/circle.yml b/circle.yml index c08a8d5e4..3d0243877 100644 --- a/circle.yml +++ b/circle.yml @@ -1,14 +1,18 @@ dependencies: pre: - sudo apt-get update -qq - - sudo apt-get install -qq cmake gcc 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 make python-dev ragel redis-server + - 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 make python-dev ragel redis-server + - gem install coveralls-lcov - sudo pip install psutil - sudo pip install robotframework test: override: - - cmake . -DCMAKE_INSTALL_PREFIX=./_install + - cmake . -DENABLE_COVERAGE=ON -DCMAKE_INSTALL_PREFIX=./_install - cmake --build . --target install - sudo robot test/functional/cases + - lcov -b . -d . -c --output-file coverage.info + - ln -s src/ragel . + - coveralls-lcov -t ${COVERALLS_REPO_TOKEN} coverage.info post: - for i in output.xml log.html report.html; do mv $i $CIRCLE_ARTIFACTS; done |