Added code coverage badge

This commit is contained in:
Benoit Blanchon
2014-11-30 15:11:19 +01:00
parent d6974127b4
commit 160ce092ff
3 changed files with 14 additions and 3 deletions

View File

@@ -2,5 +2,11 @@ language: c++
compiler:
- gcc
- clang
before_script: cmake .
script: make && make test
before_install:
- sudo pip install cpp-coveralls
before_script:
- cmake -DCOVERAGE=true .
script:
- make && make test
after_success:
- coveralls --include include --include src --gcov-options '\-lp'