travis: exclude some dirs from code coverage

This commit is contained in:
Hugues Delorme 2015-09-10 14:37:20 +02:00
parent fb170ed824
commit e0d191aae6

View File

@ -39,6 +39,12 @@ script:
make check;
fi
- if [ "${TRAVIS_COVERALLS}" = "ON" ]; then
$PYTHONUSERBASE/bin/coveralls --exclude benchmarks --gcov-options '\-lp' --root .. --build-root .;
$PYTHONUSERBASE/bin/coveralls \
--exclude benchmarks \
--exclude build/CMakeFiles \
--exclude install \
--exclude tests \
--gcov-options '\-lp' \
--root .. --build-root . ;
fi