Update .gitlab-ci.yml

This commit is contained in:
Lukas Heiligenbrunner 2020-04-16 20:53:25 +00:00
parent d4379ae19a
commit 9b1a585ae0

View File

@ -1,17 +1,7 @@
# This file is a template, and might need editing before it works on your project.
# use docker image with latex preinstalled
# since there is no official latex image, use https://github.com/blang/latex-docker
# possible alternative: https://github.com/natlownes/docker-latex
image: blang/latex
image: luki42/docker:v1.0
build:
script:
- apt update && apt install -y wget unzip
- wget http://mirrors.ctan.org/macros/latex/contrib/beamer-contrib/themes/beamertheme-focus.zip
- unzip beamertheme-focus.zip
- mkdir /usr/share/texlive/texmf-dist/tex/latex/beamertheme-focus/
- mv beamertheme-focus/*.sty /usr/share/texlive/texmf-dist/tex/latex/beamertheme-focus/
- ls -la /usr/share/texlive/texmf-dist/tex/latex
- latexmk -pdf src/main.tex
artifacts:
paths: