Created
May 25, 2016 17:42
-
-
Save MayMeow/ba3e2756e2120eb86b7da86f7226f95c to your computer and use it in GitHub Desktop.
Full Latex Image and Gitlab CI file to generate books with Mathgen.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
image: latex-full:latest | |
variables: | |
GIT_SSL_NO_VERIFY: "true" | |
cache: | |
paths: | |
- vendor | |
pages: | |
tags: | |
# use gitlabcafe runner | |
- gitlabcafe | |
script: | |
- apt-get update -yqqq | |
- apt-get install -y bibtex2html bibtexconv zip | |
- mkdir public | |
# to use this you have to download and unzip MATHGEN sources to your repository | |
# After success build go to builds and download your book. | |
- chmod +x mathgen.pl | |
- ./mathgen.pl --product=book --mode=zip --output=public/my_book.zip --author="Teresa Alexander" --author="Louis Lemoine" | |
artifacts: | |
name: "${CI_BUILD_NAME}_${CI_BUILD_REF}" | |
paths: | |
- public | |
only: | |
- master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:latest | |
MAINTAINER GitLab.cafe <[email protected]> | |
RUN apt-get update && apt-get install -y texlive-full |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment