Add Coveralls integration and coverage badge

This commit is contained in:
mnpk 2015-06-10 18:13:47 +09:00
parent 7e1b4ee58c
commit 2bacbaa52a
2 changed files with 8 additions and 2 deletions

View File

@ -1,13 +1,14 @@
language: cpp
notifications:
irc: "chat.freenode.net##crow"
# irc: "chat.freenode.net##crow"
compiler:
- gcc
#- clang
before_script:
- sudo pip install cpp-coveralls
- sudo add-apt-repository -y ppa:kalakris/cmake
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo add-apt-repository -y ppa:boost-latest/ppa
@ -22,3 +23,7 @@ before_script:
- cmake ..
script: make && ctest
after_success:
- cd ..
- coveralls --gcov gcov-4.8 -i include --gcov-options '\-lp'

View File

@ -2,7 +2,8 @@
Crow is C++ microframework for web. (inspired by Python Flask)
![Travis Build](https://travis-ci.org/ipkn/crow.svg?branch=master)
![Travis Build](https://travis-ci.org/mnpk/crow.svg?branch=master)
[![Coverage Status](https://coveralls.io/repos/mnpk/crow/badge.svg?branch=master)](https://coveralls.io/r/mnpk/crow?branch=master)
```c++
#include "crow.h"