uni-ausarbeitung/.gitlab-ci.yml
2018-04-10 01:42:00 +02:00

24 lines
474 B
YAML

stages:
- test
- build
latexmk:
stage: build
tags:
- latex
artifacts:
paths:
- main.pdf
expire_in: 2d
script:
- latexmk -xelatex main.tex
hunspell:
stage: test
tags:
- hunspell
script:
- export HUNSPELL_FINDINGS=`for filename in chapter/*.tex; do hunspell -l -d de_DE_frami,en_US -p ./.hunspellignore -t $filename; done | sort | uniq`
- echo $HUNSPELL_FINDINGS
- test "$HUNSPELL_FINDINGS" == ""
allow_failure: true