Skip to content

Commit

Permalink
Travis: actually submit branch coverage to Coveralls
Browse files Browse the repository at this point in the history
This depends on okkez/coveralls-lcov#9
  • Loading branch information
muggenhor committed Aug 25, 2017
1 parent 5f7ffe0 commit 6551a0e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ addons:

install:
- if [[ "${TRAVIS_OS_NAME}" = "osx" ]]; then brew update && brew install ninja qt5; fi
- if [ -n "${COVERALLS_SERVICE_NAME}" ]; then gem install coveralls-lcov; fi
# TODO: Revert to the following line when https://github.com/okkez/coveralls-lcov/pull/9 is merged and released.
#- if [ -n "${COVERALLS_SERVICE_NAME}" ]; then gem install coveralls-lcov; fi
- if [ -n "${COVERALLS_SERVICE_NAME}" ]; then gem install specific_install && gem specific_install -l https://github.com/muggenhor/coveralls-lcov.git -b branch-coverage; fi
- if [ -n "${COVERALLS_SERVICE_NAME}" ]; then wget http://ftp.de.debian.org/debian/pool/main/l/lcov/lcov_1.13.orig.tar.gz && tar xf lcov_1.13.orig.tar.gz && make -C lcov-1.13 "PREFIX=${HOME}/.local" install && export PATH="${PATH}:${HOME}/.local/bin"; fi
# we have to build lcov on our own as version 1.10 in apt is incompatible with coveralls gem; It is not possible to install lcov from deb as it doesn't recognize installed perl package.

Expand Down

0 comments on commit 6551a0e

Please sign in to comment.