Typicalc/.gitlab-ci.yml
Arne Keller 0431140e98 Try 3
2021-03-05 23:41:09 +01:00

14 lines
728 B
YAML

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
- mvn -Dmaven.repo.local=/tmp/m2/repository -Duser.home=/tmp package -Pproduction
- java -jar target/typicalc-1.0-SNAPSHOT.jar &
- mvn -Dmaven.repo.local=/tmp/m2/repository -Duser.home=/tmp integration-test
artifacts:
reports:
cobertura: target/site/cobertura.xml