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

10 lines
227 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 >/dev/null
fi