mirror of
https://gitlab.kit.edu/uskyk/typicalc.git
synced 2024-11-08 18:30:42 +00:00
CI: use nixpkgs
This commit is contained in:
parent
b02c5d8b9e
commit
30900c6a16
@ -1,10 +1,13 @@
|
||||
variables:
|
||||
NIX_PATH: "nixpkgs=channel:nixos-21.05"
|
||||
|
||||
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 ./cover2cover.py target/site/jacoco/jacoco.xml src/main/java > target/site/cobertura.xml
|
||||
- python3 ./source2filename.py target/site/cobertura.xml
|
||||
- ./calcCoverage.sh < target/site/cobertura.xml
|
||||
- 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"
|
||||
artifacts:
|
||||
reports:
|
||||
cobertura: target/site/cobertura.xml
|
||||
|
Loading…
Reference in New Issue
Block a user