Update travis in 4.x branch for coveralls support

This commit is contained in:
Jason Turner
2014-03-26 11:37:37 -06:00
parent 656b438002
commit 96acf5e833
2 changed files with 43 additions and 28 deletions

View File

@@ -4,12 +4,15 @@ compiler:
- clang
before_install:
- sudo apt-get install libboost-dev libboost-all-dev
- sudo pip install cpp-coveralls
script:
- mkdir build
- cd build
- cmake ../
- make
- cmake -D ENABLE_COVERAGE:BOOL=TRUE -D CMAKE_BUILD_TYPE:STRING=Debug .
- make -j2
- make test
- mkdir gcov
- find CMakeFiles/ -name "*.gc*" -exec mv {} gcov/ \;
- $GCOV -d -o gcov gcov/*.gcda
- coveralls -n -E ".*\.cpp"
notifications:
recipients:
- jason@emptycrate.com