CI: use helper scripts in repo

This commit is contained in:
Arne Keller 2021-06-15 11:58:01 +02:00
parent e4f5727683
commit b02c5d8b9e

View File

@ -2,9 +2,9 @@ build:
script:
- file src/main/resources/language/translation_de.properties | rg UTF-8
- mvn -Dmaven.repo.local=/tmp/m2/repository -Duser.home=/tmp checkstyle:check jacoco:prepare-agent test jacoco:report
- python3 /opt/cover2cover.py target/site/jacoco/jacoco.xml src/main/java > target/site/cobertura.xml
- python3 /opt/source2filename.py target/site/cobertura.xml
- /opt/calcCoverage.sh < target/site/cobertura.xml
- python3 ./cover2cover.py target/site/jacoco/jacoco.xml src/main/java > target/site/cobertura.xml
- python3 ./source2filename.py target/site/cobertura.xml
- ./calcCoverage.sh < target/site/cobertura.xml
artifacts:
reports:
cobertura: target/site/cobertura.xml