uni-ausarbeitung/templates/markdown.gitlab-ci.yml

37 lines
966 B
YAML
Raw Normal View History

2018-01-31 22:23:53 +00:00
stages:
2020-05-24 13:51:14 +00:00
- test
- build
2018-01-31 22:23:53 +00:00
2020-05-24 13:51:14 +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:
- ./build.sh pandoc
2020-05-18 21:25:02 +00:00
- ci_commit_sha_short=`git rev-parse --short $CI_COMMIT_SHA`
- mv main.pdf main@$ci_commit_sha_short.pdf
2020-05-19 19:43:15 +00:00
2020-04-30 16:36:12 +00:00
hunspell_chapters:
image: fastexitlane/hunspell:latest
2018-04-09 23:35:16 +00:00
stage: test
script:
2020-05-24 13:51:14 +00:00
- export HUNSPELL_FINDINGS=`for filename in chapter/*.md; do hunspell -l -d de_DE_frami,en_US -p ./.hunspellignore $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: fastexitlane/hunspell:latest
2020-04-30 16:36:12 +00:00
stage: test
script:
2020-05-24 13:48:59 +00:00
- export HUNSPELL_FINDINGS=`for filename in appendix/*.tex; do hunspell -l -d de_DE_frami,en_US -p ./.hunspellignore -t $filename; done | sort | uniq`
2020-04-30 16:36:12 +00:00
- echo $HUNSPELL_FINDINGS
- test "$HUNSPELL_FINDINGS" == ""
allow_failure: true
2020-05-24 13:51:14 +00:00