diff --git a/.travis.yml b/.travis.yml index 3954c12..aa9c6e6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -79,8 +79,8 @@ after_success: # Generate code coverage information & send to Coveralls lcov --gcov-tool $GCOV --directory . --capture --output-file coverage.info lcov --gcov-tool $GCOV --remove coverage.info '/usr/*' --output-file coverage.info - lcov --gcov-tool $GCOV --remove coverage.info './tests/*' --output-file coverage.info - lcov --gcov-tool $GCOV --remove coverage.info './external/*' --output-file coverage.info + lcov --gcov-tool $GCOV --remove coverage.info $TRAVIS_BUILD_DIR/tests/* --output-file coverage.info + lcov --gcov-tool $GCOV --remove coverage.info $TRAVIS_BUILD_DIR/external/* --output-file coverage.info lcov --list coverage.info coveralls-lcov --repo-token=${COVERALLS_TOKEN} coverage.info fi