Skip to content

Commit

Permalink
Switch to docker for PDF generation
Browse files Browse the repository at this point in the history
  • Loading branch information
martonbognar committed Jun 3, 2018
1 parent 0703b1b commit 7831f45
Showing 1 changed file with 8 additions and 15 deletions.
23 changes: 8 additions & 15 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,15 @@
sudo: required
dist: trusty
language: ruby
addons:
apt:
packages:
- texlive-xetex
- texlive-latex-extra
- lmodern
- texlive-latex-recommended
- xzdec
- texlive-fonts-recommended
services:
- docker
before_install:
- docker pull martonbognar/bme-latex
script:
- tlmgr init-usertree
- tlmgr option repository ftp://tug.org/historic/systems/texlive/2017/tlnet-final
- tlmgr update --all
- tlmgr install etoolbox tcolorbox framed polyglossia hyperref pgf xcolor
- xelatex bsz2.tex
- xelatex bsz2.tex
- wget https://raw.githubusercontent.com/bme-notes/docker/master/dockercmd.sh
- chmod +x dockercmd.sh
- ./dockercmd.sh xelatex bsz2.tex
- ./dockercmd.sh xelatex bsz2.tex
deploy:
provider: releases
api_key:
Expand Down

0 comments on commit 7831f45

Please sign in to comment.