From a349aebc045f17700e8aa10b899d53e3d4623a2f Mon Sep 17 00:00:00 2001 From: Dominik Becker Date: Sun, 24 May 2020 15:51:14 +0200 Subject: [PATCH] #42 changed mwe for latex --- .gitlab-ci.yml | 11 ++++------- latex.gitlab-ci.yml => markdown.gitlab-ci.yml | 11 +++++++---- 2 files changed, 11 insertions(+), 11 deletions(-) rename latex.gitlab-ci.yml => markdown.gitlab-ci.yml (67%) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 68de987..72ed292 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,9 +1,8 @@ stages: - - test - - build + - test + - build - -pandoc_latexmk: +latexmk: image: fastexitlane/pandoc-latex:latest stage: build artifacts: @@ -11,7 +10,6 @@ pandoc_latexmk: - 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 @@ -21,7 +19,7 @@ hunspell_chapters: image: fastexitlane/hunspell:latest stage: test script: - - export HUNSPELL_FINDINGS=`for filename in chapter/*.md; do hunspell -l -d de_DE_frami,en_US -p ./.hunspellignore $filename; done | sort | uniq` + - 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 @@ -35,4 +33,3 @@ hunspell_appendix: - echo $HUNSPELL_FINDINGS - test "$HUNSPELL_FINDINGS" == "" allow_failure: true - \ No newline at end of file diff --git a/latex.gitlab-ci.yml b/markdown.gitlab-ci.yml similarity index 67% rename from latex.gitlab-ci.yml rename to markdown.gitlab-ci.yml index 72ed292..68de987 100644 --- a/latex.gitlab-ci.yml +++ b/markdown.gitlab-ci.yml @@ -1,8 +1,9 @@ stages: - - test - - build + - test + - build -latexmk: + +pandoc_latexmk: image: fastexitlane/pandoc-latex:latest stage: build artifacts: @@ -10,6 +11,7 @@ latexmk: - 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 @@ -19,7 +21,7 @@ hunspell_chapters: image: fastexitlane/hunspell:latest 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` + - export HUNSPELL_FINDINGS=`for filename in chapter/*.md; do hunspell -l -d de_DE_frami,en_US -p ./.hunspellignore $filename; done | sort | uniq` - echo $HUNSPELL_FINDINGS - test "$HUNSPELL_FINDINGS" == "" allow_failure: true @@ -33,3 +35,4 @@ hunspell_appendix: - echo $HUNSPELL_FINDINGS - test "$HUNSPELL_FINDINGS" == "" allow_failure: true + \ No newline at end of file