Testing lcov and gcov updates.
This commit is contained in:
parent
766961b2f3
commit
4009b2a15b
10
.travis.yml
10
.travis.yml
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue