diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-05-10 14:46:05 +0200 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-05-10 14:46:05 +0200 |
commit | 740aed3aefb48007233e0c31e28b349c74178180 (patch) | |
tree | d80aab97f9e1af9e0e6b877366f2f0bb547b25bc | |
parent | Add qutes to scripts (diff) | |
download | cuberite-740aed3aefb48007233e0c31e28b349c74178180.tar cuberite-740aed3aefb48007233e0c31e28b349c74178180.tar.gz cuberite-740aed3aefb48007233e0c31e28b349c74178180.tar.bz2 cuberite-740aed3aefb48007233e0c31e28b349c74178180.tar.lz cuberite-740aed3aefb48007233e0c31e28b349c74178180.tar.xz cuberite-740aed3aefb48007233e0c31e28b349c74178180.tar.zst cuberite-740aed3aefb48007233e0c31e28b349c74178180.zip |
-rwxr-xr-x | CIbuild.sh | 1 | ||||
-rwxr-xr-x | uploadCoverage.sh | 3 |
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 + + |