Testing lcov and gcov updates.

This commit is contained in:
Francois Best 2016-10-09 19:04:59 +02:00
parent 766961b2f3
commit 4009b2a15b
1 changed files with 6 additions and 4 deletions

View File

@ -51,12 +51,13 @@ before_install:
install:
# Install lcov from source
# - wget http://ftp.fr.debian.org/debian/pool/main/l/lcov/lcov_1.11.orig.tar.gz
# - tar xf lcov_1.11.orig.tar.gz
# - sudo make -C lcov-1.11/ install
- sudo apt-get install lcov
- wget http://ftp.fr.debian.org/debian/pool/main/l/lcov/lcov_1.12.orig.tar.gz
- tar xf lcov_1.11.orig.tar.gz
- sudo make -C lcov-1.11/ install
- sudo apt-get install ggcov
- gem install coveralls-lcov
- lcov --version
- gcov --version
before_script:
# init coverage to 0 (optional)
@ -74,6 +75,7 @@ script:
after_success:
# Generate code coverage information & send to Coveralls
- pwd
- lcov --directory . --capture --output-file coverage.info
- lcov --remove coverage.info 'test/*' '/usr/*' 'external/*' --output-file coverage.info
- lcov --list coverage.info