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

if [ "$TRAVIS_MCSERVER_BUILD_TYPE" == "COVERAGE" ]
	then
	find tests -type f -name '*.gcda' -exec cp {} $(dirname {})/../$(basename {})
	coveralls --exclude lib --exclude tests >
fi