Created
August 14, 2019 11:31
-
-
Save papachristoumarios/d438c20a97137ae76b44cc2ff2cffecb to your computer and use it in GitHub Desktop.
Travis auto build LaTeX PDFs
This file contains hidden or 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
sudo: required | |
dist: trusty | |
before_install: | |
- sudo apt-get -qq update && sudo apt-get install -y --no-install-recommends texlive-fonts-recommended texlive-latex-extra texlive-fonts-extra dvipng texlive-latex-recommended | |
script: | |
- pdflatex -interaction=nonstopmode -halt-on-error -output-directory cv/ cv/cv.tex | |
- git config --global user.email "[email protected]" | |
- git config --global user.name "Marios Papachristou" | |
- git commit -am 'Auto build CV' | |
# Setup GH_TOKEN as an environment variable for Travis CI from Github to match your API Token | |
- git push -q https://papachristoumarios:[email protected]/papachristoumarios/papachristoumarios.github.io.git HEAD:master | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment