1
0

Relocate gcda files so gcov can find them 3

This commit is contained in:
Tycho 2014-05-10 14:11:35 +01:00
parent 5b23bc53cc
commit 149793da05

View File

@ -2,7 +2,7 @@
if [ "$TRAVIS_MCSERVER_BUILD_TYPE" == "COVERAGE" ] if [ "$TRAVIS_MCSERVER_BUILD_TYPE" == "COVERAGE" ]
then then
find tests -type f -name '*.gcda' -exec cp {} $(dirname {})/../$(basename {}) find tests -type f -name '*.gcda' -exec sh -c 'cp {} $(dirname {})/../$(basename {})' \;
coveralls --exclude lib --exclude Android --gcov-options -q coveralls --exclude lib --exclude Android --gcov-options -q
fi fi