1
0
cuberite-2a/uploadCoverage.sh
2014-05-17 13:05:12 +01:00

10 lines
243 B
Bash
Executable File

#!/usr/bin/env bash
if [ "$TRAVIS_MCSERVER_BUILD_TYPE" == "COVERAGE" ]
then
find tests -type f -name '*.gcda' -exec sh -c 'cp {} $(dirname {})/../$(basename {})' \;
coveralls --exclude lib --exclude Android --exclude tests >/dev/null
fi