Skip to content
Snippets Groups Projects
Commit a059df12 authored by Jari-Matti Mäkelä's avatar Jari-Matti Mäkelä
Browse files

Replace the obsolete version

Let's also see how the new CI script works.
parent 615825f0
No related branches found
No related tags found
No related merge requests found
......@@ -4,12 +4,36 @@
# possible alternative: https://github.com/natlownes/docker-latex
image: listx/texlive:2017
graduator:
stages:
- build
- test
before_script:
pdflatex_builder:
stage: build
before_script
- cd latex
script:
- "latexmk -xelatex Tutkielma.tex"
- "latexmk -pdf -output-directory=pdflatex/ thesis.tex"
artifacts:
paths:
- "latex/*.pdf"
- "latex/pdflatex/thesis.pdf"
xelatex_builder:
stage: build
before_script
- cd latex
script:
- "latexmk -xelatex -output-directory=xelatex/ thesis.tex"
artifacts:
paths:
- "latex/xelatex/thesis.pdf"
pdflatex_content_validator:
stage: test
script:
- "pdfinfo latex/pdflatex/thesis.pdf |grep '^Pages: *13$'"
xelatex_content_validator:
stage: test
script:
- "pdfinfo latex/xelatex/thesis.pdf |grep '^Pages: *13$'"
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment