What if we don't specify lcov/gcov?

This commit is contained in:
Francois Best 2016-10-09 19:24:14 +02:00
parent 016f18df4b
commit 63f5eba41b
1 changed files with 5 additions and 10 deletions

View File

@ -47,22 +47,18 @@ matrix:
before_install:
- sudo apt-get update -qq
- source <(curl -SLs https://raw.githubusercontent.com/fortyseveneffects/travis-ci-arduino/master/install.sh)
# - 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.12.orig.tar.gz
- tar xf lcov_1.12.orig.tar.gz
- sudo make -C lcov-1.12/ install
- sudo apt-get install ggcov
# - wget http://ftp.fr.debian.org/debian/pool/main/l/lcov/lcov_1.12.orig.tar.gz
# - tar xf lcov_1.12.orig.tar.gz
# - sudo make -C lcov-1.12/ install
# - sudo apt-get install ggcov
- gem install coveralls-lcov
- lcov --version
- gcov --version
before_script:
# init coverage to 0 (optional)
- lcov --directory . --zerocounters
script:
# Build examples with Arduino IDE on each available platform / board
# - build_main_platforms
@ -75,7 +71,6 @@ 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