What if we don't specify lcov/gcov?
This commit is contained in:
parent
016f18df4b
commit
63f5eba41b
15
.travis.yml
15
.travis.yml
|
|
@ -47,22 +47,18 @@ matrix:
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- sudo apt-get update -qq
|
- 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:
|
||||||
# Install lcov from source
|
# Install lcov from source
|
||||||
- wget http://ftp.fr.debian.org/debian/pool/main/l/lcov/lcov_1.12.orig.tar.gz
|
# - 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
|
# - tar xf lcov_1.12.orig.tar.gz
|
||||||
- sudo make -C lcov-1.12/ install
|
# - sudo make -C lcov-1.12/ install
|
||||||
- sudo apt-get install ggcov
|
# - sudo apt-get install ggcov
|
||||||
- gem install coveralls-lcov
|
- gem install coveralls-lcov
|
||||||
- lcov --version
|
- lcov --version
|
||||||
- gcov --version
|
- gcov --version
|
||||||
|
|
||||||
before_script:
|
|
||||||
# init coverage to 0 (optional)
|
|
||||||
- lcov --directory . --zerocounters
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
# Build examples with Arduino IDE on each available platform / board
|
# Build examples with Arduino IDE on each available platform / board
|
||||||
# - build_main_platforms
|
# - build_main_platforms
|
||||||
|
|
@ -75,7 +71,6 @@ script:
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
# Generate code coverage information & send to Coveralls
|
# Generate code coverage information & send to Coveralls
|
||||||
- pwd
|
|
||||||
- lcov --directory . --capture --output-file coverage.info
|
- lcov --directory . --capture --output-file coverage.info
|
||||||
- lcov --remove coverage.info 'test/*' '/usr/*' 'external/*' --output-file coverage.info
|
- lcov --remove coverage.info 'test/*' '/usr/*' 'external/*' --output-file coverage.info
|
||||||
- lcov --list coverage.info
|
- lcov --list coverage.info
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue