mirror of
https://gitlab.kit.edu/uskyk/typicalc.git
synced 2024-11-08 18:30:42 +00:00
15 lines
640 B
YAML
15 lines
640 B
YAML
build:
|
|
script:
|
|
- alias mvn="mvn -Dmaven.repo.local=/tmp/m2/repository -Duser.home=/tmp"
|
|
- file src/main/resources/language/translation_de.properties | rg UTF-8
|
|
- 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/source2filename.py target/site/cobertura.xml
|
|
- /opt/calcCoverage.sh < target/site/cobertura.xml
|
|
- mvn package -Pproduction
|
|
- java -jar target/typicalc-1.0-SNAPSHOT.jar &
|
|
- mvn integration-test
|
|
artifacts:
|
|
reports:
|
|
cobertura: target/site/cobertura.xml
|