Install lcov from apt, fix path.

This commit is contained in:
Francois Best 2016-10-09 18:40:26 +02:00
parent cb34be646c
commit 9cbce11523
1 changed files with 4 additions and 5 deletions

View File

@ -47,14 +47,14 @@ matrix:
before_install:
- sudo apt-get update -qq
- sudo apt-get install lcov
- source <(curl -SLs https://raw.githubusercontent.com/fortyseveneffects/travis-ci-arduino/master/install.sh)
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
# - 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
- gem install coveralls-lcov
- lcov --version
@ -74,7 +74,6 @@ script:
after_success:
# Generate code coverage information & send to Coveralls
- cd build
- lcov --directory . --capture --output-file coverage.info
- lcov --remove coverage.info 'test/*' '/usr/*' 'external/*' --output-file coverage.info
- lcov --list coverage.info