I’ve long used Travis for CI with a GitHub repo that has a very simple travis.yml file. But I now find that my builds no longer work. The problem seems to lie with the installation of LaTeX packages, which I try to do by following the Travis CI instructions on R projects:
tlmgr install no longer works.
Here is a link to one failed build.
tlmgr complains that there is “No connection to the internet,” but there is; indeed, shortly before it makes this complaint, the log shows that Travis downloads the latest version of TeX Live from GitHub. More output from the log:
No connection to the internet. Unable to download the checksum of the remote TeX Live database, but found a local copy so using that.
The build seems to fail because the local copy doesn’t include all of the packages that I need to install.
I thought that I might solve the problem by adding
tlmgr update --self to my travis.yml file, or by specifying a repository in the
tlmgr install command. But neither strategy worked. Output from the build in which I tried these strategies is here. Even though I’ve added
tlmgr update --self to travis.yml, I get this message in the log:
tlmgr itself needs to be updated. Please do this via either tlmgr update --self or by getting the latest updater for Unix-ish systems:
What can I do to get around this problem?