1
0

Relocate gcda files so gcov can find them

This commit is contained in:
Tycho 2014-05-10 13:46:05 +01:00
parent 189c7529e9
commit 740aed3aef
2 changed files with 4 additions and 0 deletions

View File

@ -2,5 +2,6 @@
cmake . -DBUILD_TOOLS=1 -DSELF_TEST=1;
make -j 2;
make -j 2 test;
cd MCServer/;
echo stop | gcov $MCSERVER_PATH;

View File

@ -2,5 +2,8 @@
if [ "$TRAVIS_MCSERVER_BUILD_TYPE" == "COVERAGE" ]
then
find tests -type f -name '*.gcda' -exec 'cp {} $(dirname {})/../$(basename {})'
coveralls --exclude lib --exclude tests
fi