[travis] attempt to fix coverage

This commit is contained in:
Dane Springmeyer 2016-06-14 21:58:32 -07:00
parent 915062c6a3
commit 8955e3b189
2 changed files with 9 additions and 5 deletions

View file

@ -72,9 +72,13 @@ install:
before_script:
- source bootstrap.sh
- mason install clang 3.8.0
- export PATH=$(mason prefix clang 3.8.0)/bin:${PATH}
- which clang++
- |
if [[ $(uname -s) == 'Linux' ]]; then
mason install clang 3.8.0
export PATH=$(mason prefix clang 3.8.0)/bin:${PATH}
which clang++
export LLVM_COV="$(mason prefix clang 3.8.0)/bin/llvm-cov"
fi
- ccache --version
- ccache -p || true
- ccache --show-stats || true
@ -86,7 +90,7 @@ script:
- cat config.log
- make
- make test
- enabled ${COVERAGE} export LLVM_COV="$(mason prefix clang 3.8.0)/bin/llvm-cov" && coverage
- enabled ${COVERAGE} coverage
- enabled ${BENCH} make bench
after_success:

View file

@ -93,7 +93,7 @@ configure () {
coverage () {
./mason_packages/.link/bin/cpp-coveralls \
--gcov ${LLVM_COV} \
--build-root . --gcov-options '\-lp' \
--build-root . \
--exclude mason_packages \
--exclude .sconf_temp --exclude benchmark --exclude deps \
--exclude scons --exclude test --exclude demo --exclude docs \