I want to use travis-ci on my project on github, a MWE of which is available here.
I am using the following
.travis.yml file, following the steps given in this Minimal CI LaTeX builder site.
before_install: - sudo apt-get update -qq - sudo apt-get install texlive-latex-base script: - mkdir build - pdflatex -output-directory build Example.tex deploy: provider: releases api_key: secure: <mykey> file: Example.pdf skip_cleanup: true on: repo: HughParsonage/travis-latex-ci
However, when I push a commit, I get the error
scrreprt.cls not found.
I tried changing the installation to
sudo apt-get install texlive-latex-extra, but I then get the error
adjustbox.sty not found.
I understand these errors – the TeX Live distribution I requested travis use does not have the packages/class files I need, but not how to resolve them through a
.travis.yml file. I understand I could put the respective
.cls/.sty files in the same directory until I get no build errors. However, is there a way to get all these packages on the travis machine?