From 7831f45c13065f1da72e067ab5993f3b579ca48c Mon Sep 17 00:00:00 2001 From: marton bognar Date: Sun, 3 Jun 2018 23:07:51 +0200 Subject: [PATCH] Switch to docker for PDF generation --- .travis.yml | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6fb6098..abf60ab 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: