Update badge.py to Python 3

This commit is contained in:
2018-12-05 21:02:23 -06:00
parent 6a3e430a5e
commit 8fd175685d
2 changed files with 2 additions and 2 deletions

View File

@@ -168,7 +168,7 @@ generate_coverage_badge() {
log_info "Generating code coverage badge"
CORE_REPORT=uhabits-core/build/reports/jacoco/test/jacocoTestReport.xml
rm -f ${OUTPUTS_DIR}/coverage-badge.svg
python tools/coverage-badge/badge.py -i $CORE_REPORT -o ${OUTPUTS_DIR}/coverage-badge
python3 tools/coverage-badge/badge.py -i $CORE_REPORT -o ${OUTPUTS_DIR}/coverage-badge
}
fetch_artifacts() {