]> granicus.if.org Git - gc/commitdiff
Travis CI: Fix base directory for lcov
authorIvan Maidanski <ivmai@mail.ru>
Thu, 2 Feb 2017 17:49:36 +0000 (20:49 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 2 Feb 2017 17:50:06 +0000 (20:50 +0300)
(fix commit 8270bf2)

.travis.yml

index 2378edcf7ebe938f39b2fd175894e230b4a79278..48847849a78749078c1deb222fd66b8d8b948e89 100644 (file)
@@ -46,7 +46,7 @@ script:
 
 after_success:
   - if [[ "$CONF_GCOV" == --en* ]]; then
-      lcov --capture --directory . --output-file coverage.info;
+      lcov --capture --base-directory . --directory . --output-file coverage.info;
       lcov --remove coverage.info '/usr/*' 'cord/tests/*' 'libatomic_ops/*' 'tests/*' --output-file coverage.info;
       lcov --list coverage.info;
       coveralls-lcov --repo-token ${COVERALLS_TOKEN} coverage.info;