Typicalc/.gitlab-ci.yml

14 lines
728 B
YAML
Raw Normal View History

2021-01-27 09:24:54 +00:00
build:
script:
- file src/main/resources/language/translation_de.properties | rg UTF-8
2021-03-05 22:41:09 +00:00
- mvn -Dmaven.repo.local=/tmp/m2/repository -Duser.home=/tmp checkstyle:check jacoco:prepare-agent test jacoco:report
2021-01-28 13:44:11 +00:00
- python3 /opt/cover2cover.py target/site/jacoco/jacoco.xml src/main/java > target/site/cobertura.xml
- python3 /opt/source2filename.py target/site/cobertura.xml
2021-01-28 13:49:33 +00:00
- /opt/calcCoverage.sh < target/site/cobertura.xml
2021-03-05 22:41:09 +00:00
- mvn -Dmaven.repo.local=/tmp/m2/repository -Duser.home=/tmp package -Pproduction
2021-03-05 22:38:33 +00:00
- java -jar target/typicalc-1.0-SNAPSHOT.jar &
2021-03-05 22:41:09 +00:00
- mvn -Dmaven.repo.local=/tmp/m2/repository -Duser.home=/tmp integration-test
artifacts:
reports:
2021-01-28 13:44:11 +00:00
cobertura: target/site/cobertura.xml