2021-06-15 10:25:59 +00:00
|
|
|
variables:
|
|
|
|
NIX_PATH: "nixpkgs=channel:nixos-21.05"
|
|
|
|
|
2021-01-27 09:24:54 +00:00
|
|
|
build:
|
|
|
|
script:
|
2021-06-15 10:25:59 +00:00
|
|
|
- nix-shell --pure --run "file src/main/resources/language/translation_de.properties | rg UTF-8"
|
|
|
|
- nix-shell --pure --run "mvn -Dmaven.repo.local=/tmp/m2/repository -Duser.home=/tmp checkstyle:check jacoco:prepare-agent test jacoco:report"
|
|
|
|
- nix-shell --pure --run "python3 ./cover2cover.py target/site/jacoco/jacoco.xml src/main/java > target/site/cobertura.xml"
|
|
|
|
- nix-shell --pure --run "python3 ./source2filename.py target/site/cobertura.xml"
|
|
|
|
- nix-shell --pure --run "./calcCoverage.sh < target/site/cobertura.xml"
|
2021-01-28 09:31:58 +00:00
|
|
|
artifacts:
|
|
|
|
reports:
|
2021-01-28 13:44:11 +00:00
|
|
|
cobertura: target/site/cobertura.xml
|