### This file was NOT written by me. ORIGINAL LINK : https://github.com/PHPirates/travis-ci-latex-pdf sudo: required language: generic services: docker script: # We use the docker image from https://hub.docker.com/r/dxjoke/tectonic-docker/ # Compiling only main.tex: - docker run --mount src=$TRAVIS_BUILD_DIR/,target=/usr/src/tex,type=bind dxjoke/tectonic-docker /bin/sh -c "tectonic main.tex" # Compiling multiple files as well as using biber: # - docker run --mount src=$TRAVIS_BUILD_DIR/,target=/usr/src/tex,type=bind dxjoke/tectonic-docker /bin/sh -c "tectonic --keep-intermediates --reruns 0 biber-mwe.tex; biber biber-mwe; tectonic biber-mwe.tex; tectonic main.tex" file: - ./main.pdf skip_cleanup: true on: tags: true branch: master