From fd829b062482b734a0d95c12edb4719868b8423c Mon Sep 17 00:00:00 2001 From: Mathieu Champlon Date: Tue, 31 Mar 2015 07:45:32 +0200 Subject: [PATCH] FIxed cobertura analysis --- .travis.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index b1adf89..b4b7286 100644 --- a/.travis.yml +++ b/.travis.yml @@ -68,17 +68,12 @@ after_success: # Preparing Coveralls data by # ... installing the tools - sudo apt-get install -qq python-yaml lcov - # ... changind data format to a readable one - - lcov --directory $COVERALS_DIR --base-directory ./ --capture --output-file $COVERALS_DIR/coverage.info + # ... changing data format to a readable one + - lcov --directory $COVERALS_DIR --base-directory ./test --capture --output-file $COVERALS_DIR/coverage.info # ... erasing /test/ /example/ folder data - lcov --remove $COVERALS_DIR/coverage.info "/usr*" "/test/*" $IGNORE_COVERAGE "tests/*" "*/doc/examples/*" -o $COVERALS_DIR/coverage.info - # ... erasing data that is not related to this project directly - - OTHER_LIBS=`grep "submodule .*" .gitmodules | sed 's/\[submodule\ "\(.*\)"\]/"\*\/boost\/\1\.hpp" "\*\/boost\/\1\/\*"/g'| sed "/\"\*\/boost\/$PROJECT_TO_TEST\/\*\"/d" | sed ':a;N;$!ba;s/\n/ /g'` - - echo $OTHER_LIBS - - eval "lcov --remove $COVERALS_DIR/coverage.info $OTHER_LIBS -o $COVERALS_DIR/coverage.info" - # Sending data to Coveralls - cd $PROJECT_DIR - gem install coveralls-lcov