summaryrefslogtreecommitdiff
path: root/admin/codecov.sh
diff options
context:
space:
mode:
Diffstat (limited to 'admin/codecov.sh')
-rwxr-xr-xadmin/codecov.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/admin/codecov.sh b/admin/codecov.sh
index eff1b4c..1e43f19 100755
--- a/admin/codecov.sh
+++ b/admin/codecov.sh
@@ -11,5 +11,8 @@ export PATH="C:/MinGW/bin:$PATH"
# Download codecov script
curl -s -o codecov.sh https://codecov.io/bash
+# Merge files
+python ./contrib/coveragehelper/merge-cobertura.py --output cobertura.xml --match 'cobertura*.xml'
+
# Upload in chunks of 5 files
-ls cobertura*.xml | sed -e 's/^/-f /' | xargs -n 10 bash ./codecov.sh -X nocolor -X gcov -F windows
+bash ./codecov.sh -X nocolor -X gcov -F windows -f cobertura.xml -f cobertura1.xml