1
0
cuberite-2a/uploadCoverage.sh

10 lines
205 B
Bash
Raw Normal View History

2014-05-10 08:03:36 -04:00
#!/usr/bin/env bash
2014-05-10 08:18:40 -04:00
if [ "$TRAVIS_MCSERVER_BUILD_TYPE" == "COVERAGE" ]
2014-05-10 08:09:47 -04:00
then
find tests -type f -name '*.gcda' -exec 'cp {} $(dirname {})/../$(basename {})'
2014-05-10 08:09:47 -04:00
coveralls --exclude lib --exclude tests
2014-05-10 08:03:36 -04:00
fi