summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xCIbuild.sh1
-rwxr-xr-xuploadCoverage.sh3
2 files changed, 4 insertions, 0 deletions
diff --git a/CIbuild.sh b/CIbuild.sh
index 0c00a351f..4d8b313a5 100755
--- a/CIbuild.sh
+++ b/CIbuild.sh
@@ -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;
diff --git a/uploadCoverage.sh b/uploadCoverage.sh
index 193e670dc..6bc75f779 100755
--- a/uploadCoverage.sh
+++ b/uploadCoverage.sh
@@ -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
+
+