Fix call to gcov for older gcov ver / travis

This commit is contained in:
Jason Turner 2014-03-24 19:41:41 -06:00
parent 8879a89490
commit f40f9d8441

View File

@ -2,14 +2,14 @@ language: cpp
compiler:
- gcc
before_install:
- sudo pip install cpp-coveralls --use-mirrors
- sudo pip install cpp-coveralls
script:
- cmake -D ENABLE_COVERAGE:BOOL=TRUE -D CMAKE_BUILD_TYPE:STRING=Debug -D USE_LIBCXX:BOOL=FALSE .
- 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 gcov/*.gcda
- gcov -d -o gcov gcov/*.gcda
- coveralls -n -E ".*\.cpp"
notifications:
recipients: