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
|
|
|
|
|
2020-05-18 21:25:02 +00:00
|
|
|
#latexmk:
|
2020-05-19 17:35:09 +00:00
|
|
|
# image: fastexitlane/pandoc-latex:latest
|
2020-05-18 21:24:13 +00:00
|
|
|
# stage: build
|
|
|
|
# artifacts:
|
|
|
|
# paths:
|
|
|
|
# - main*.pdf
|
|
|
|
# expire_in: 2d
|
|
|
|
# script:
|
|
|
|
# - latexmk main.tex
|
|
|
|
# - ci_commit_sha_short=`git rev-parse --short $CI_COMMIT_SHA`
|
|
|
|
# - mv main.pdf main@$ci_commit_sha_short.pdf
|
2018-04-09 23:35:16 +00:00
|
|
|
|
2020-05-18 21:25:02 +00:00
|
|
|
pandoc_latexmk:
|
2020-05-19 17:35:09 +00:00
|
|
|
image: fastexitlane/pandoc-latex:latest
|
2020-05-18 21:25:02 +00:00
|
|
|
stage: build
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- main*.pdf
|
|
|
|
expire_in: 2d
|
|
|
|
script:
|
|
|
|
- pandoc --filter pandoc-crossref --filter pandoc-citeproc -M cref=true --top-level-division=chapter --bibliography library/library.bib --biblatex -o chapter/out.tex chapter/*.md
|
|
|
|
- latexmk main.tex
|
|
|
|
- ci_commit_sha_short=`git rev-parse --short $CI_COMMIT_SHA`
|
|
|
|
- mv main.pdf main@$ci_commit_sha_short.pdf
|
|
|
|
|
2020-04-30 16:36:12 +00:00
|
|
|
hunspell_chapters:
|
2018-08-19 15:36:49 +00:00
|
|
|
image: tmaier/hunspell:latest
|
2018-04-09 23:35:16 +00:00
|
|
|
stage: test
|
|
|
|
script:
|
2018-12-02 11:27:03 +00:00
|
|
|
- export HUNSPELL_FINDINGS=`for filename in chapter/*.tex; do hunspell -l -d de_DE_neu,en_US -p ./.hunspellignore -t $filename; done | sort | uniq`
|
2018-04-09 23:35:16 +00:00
|
|
|
- echo $HUNSPELL_FINDINGS
|
|
|
|
- test "$HUNSPELL_FINDINGS" == ""
|
2020-04-30 16:36:12 +00:00
|
|
|
allow_failure: true
|
|
|
|
|
|
|
|
|
|
|
|
hunspell_appendix:
|
|
|
|
image: tmaier/hunspell:latest
|
|
|
|
stage: test
|
|
|
|
script:
|
|
|
|
- export HUNSPELL_FINDINGS=`for filename in appendix/*.tex; do hunspell -l -d de_DE_neu,en_US -p ./.hunspellignore -t $filename; done | sort | uniq`
|
|
|
|
- echo $HUNSPELL_FINDINGS
|
|
|
|
- test "$HUNSPELL_FINDINGS" == ""
|
|
|
|
allow_failure: true
|