From 06e52945b7ba07dfc62c16d2acd5f2069e23abdb Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Tue, 25 Aug 2015 22:47:07 +0100 Subject: [PATCH] Travis: coverage should be gathered from the right directory --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 3013ce68..0c06cd77 100644 --- a/.travis.yml +++ b/.travis.yml @@ -88,9 +88,11 @@ after_success: fi - | if [[ "$BUILD_TYPE" == "cov" ]]; then + cd build/ lcov --directory . --capture --output-file coverage.info lcov --remove coverage.info '/usr/*' 'test/*' --output-file coverage.info coveralls-lcov coverage.info + cd .. fi notifications: irc: