summaryrefslogblamecommitdiffstats
path: root/uploadCoverage.sh
blob: dc3ca527815142370ebe3b53959f5655a70180c4 (plain) (tree)
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 sh -c 'cp {} $(dirname {})/../$(basename {})' \;
	coveralls --exclude lib --exclude Android --gcov-options=-q
fi