This commit is contained in:
Arne Keller 2021-03-05 23:40:10 +01:00
parent 9685c0c607
commit bd70f5b481

View File

@ -1,7 +1,8 @@
build: build:
script: script:
- alias mvn="mvn -Dmaven.repo.local=/tmp/m2/repository -Duser.home=/tmp"
- file src/main/resources/language/translation_de.properties | rg UTF-8 - 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 - mvn 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/cover2cover.py target/site/jacoco/jacoco.xml src/main/java > target/site/cobertura.xml
- python3 /opt/source2filename.py target/site/cobertura.xml - python3 /opt/source2filename.py target/site/cobertura.xml
- /opt/calcCoverage.sh < target/site/cobertura.xml - /opt/calcCoverage.sh < target/site/cobertura.xml