mcserver/uploadCoverage.sh

10 lines
227 B
Bash
Raw Normal View History

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