1
0
cuberite-2a/uploadCoverage.sh

10 lines
243 B
Bash
Raw Normal View History

2014-05-10 12:03:36 +00:00
#!/usr/bin/env bash
2014-05-10 12:18:40 +00:00
if [ "$TRAVIS_MCSERVER_BUILD_TYPE" == "COVERAGE" ]
2014-05-10 12:09:47 +00:00
then
find tests -type f -name '*.gcda' -exec sh -c 'cp {} $(dirname {})/../$(basename {})' \;
2014-05-17 12:05:12 +00:00
coveralls --exclude lib --exclude Android --exclude tests >/dev/null
2014-05-10 12:03:36 +00:00
fi