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: compiler:
- gcc - gcc
before_install: before_install:
- sudo pip install cpp-coveralls --use-mirrors - sudo pip install cpp-coveralls
script: 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 -j2
- make test - make test
- mkdir gcov - mkdir gcov
- find CMakeFiles/ -name "*.gc*" -exec mv {} gcov/ \; - find CMakeFiles/ -name "*.gc*" -exec mv {} gcov/ \;
- gcov -d gcov/*.gcda - gcov -d -o gcov gcov/*.gcda
- coveralls -n -E ".*\.cpp" - coveralls -n -E ".*\.cpp"
notifications: notifications:
recipients: recipients: