2018-01-31 22:23:53 +00:00
|
|
|
stages:
|
2018-04-09 23:35:16 +00:00
|
|
|
- test
|
2018-01-31 22:23:53 +00:00
|
|
|
- build
|
|
|
|
|
2018-04-09 23:35:16 +00:00
|
|
|
latexmk:
|
2018-08-19 15:36:49 +00:00
|
|
|
image: tianon/latex:latest
|
2018-01-31 22:23:53 +00:00
|
|
|
stage: build
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- main.pdf
|
|
|
|
expire_in: 2d
|
|
|
|
script:
|
2018-04-26 18:26:36 +00:00
|
|
|
- latexmk main.tex
|
2018-04-09 23:35:16 +00:00
|
|
|
|
|
|
|
hunspell:
|
2018-08-19 15:36:49 +00:00
|
|
|
image: tmaier/hunspell:latest
|
2018-04-09 23:35:16 +00:00
|
|
|
stage: test
|
|
|
|
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
|