Fixed cobertura analysis

This commit is contained in:
Mathieu Champlon 2015-03-31 16:48:54 +02:00
parent fd829b0624
commit e148e7bf64

View file

@ -69,7 +69,7 @@ after_success:
# ... installing the tools # ... installing the tools
- sudo apt-get install -qq python-yaml lcov - sudo apt-get install -qq python-yaml lcov
# ... changing data format to a readable one # ... changing data format to a readable one
- lcov --directory $COVERALS_DIR --base-directory ./test --capture --output-file $COVERALS_DIR/coverage.info - lcov --directory $COVERALS_DIR --base-directory /home/travis/build/mat007/turtle/test --capture --output-file $COVERALS_DIR/coverage.info
# ... erasing /test/ /example/ folder data # ... erasing /test/ /example/ folder data
- lcov --remove $COVERALS_DIR/coverage.info "/usr*" "/test/*" $IGNORE_COVERAGE "tests/*" "*/doc/examples/*" -o $COVERALS_DIR/coverage.info - lcov --remove $COVERALS_DIR/coverage.info "/usr*" "/test/*" $IGNORE_COVERAGE "tests/*" "*/doc/examples/*" -o $COVERALS_DIR/coverage.info