Moved to use an Ubuntu Docker container

Since Travis-CI only supports Ubuntu 14.04 which is not compatible with the current thesis-template version, we move to an Ubuntu Docker container to test the LaTeX code.
pull/3/head
Michael Bredel 8 years ago committed by GitHub
parent f6f1b3adce
commit 0db1e213dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 17
      .travis.yml

@ -3,18 +3,9 @@ dist: trusty
branches:
only:
- master
services:
- docker
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y --no-install-recommends texlive
- sudo apt-get install -y --no-install-recommends texlive-bibtex-extra
- sudo apt-get install -y --no-install-recommends texlive-fonts-extra
- sudo apt-get install -y --no-install-recommends texlive-lang-english
- sudo apt-get install -y --no-install-recommends texlive-lang-german
- sudo apt-get install -y --no-install-recommends texlive-latex-extra
- sudo apt-get install -y --no-install-recommends texlive-math-extra
- sudo apt-get install -y --no-install-recommends texlive-publishers
- sudo apt-get install -y --no-install-recommends texlive-science
- docker pull ubuntu:16.04
script:
- pdflatex -interaction=nonstopmode -halt-on-error thesis.tex
- test -f thesis-blx.bib && ( bibtex thesis; pdflatex thesis.tex )
- pdflatex -interaction=nonstopmode -halt-on-error thesis.tex
- docker run ubuntu:16:04

Loading…
Cancel
Save