summaryrefslogtreecommitdiffstats
path: root/uploadCoverage.sh
blob: 761a0c94102b1fd560c6c48bce504644d2fbea98 (plain) (blame)
1
2
3
4
5
6
7
8
9
#!/usr/bin/env bash

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