I succesfully build a latex document using instructions from How to build my LaTeX automatically using Travis CI? and save the pdf in a github release. I use the tectronic docker image of @rekka.
However now that my latex document uses biber/biblatex the cites and \printbibliography doesnt work when produced by travis (locally it works running lualatex, biber, lualatex, lualatex).
I assume biber is not run on travis. Does someone know how I can run biber on travis?
PS: Forgive me if I got something wrong, im rather a LaTeX-Beginner
EDIT: My .travis.yml looks like this:
sudo: required
services: docker
script:
- docker pull rekka/tectonic
- docker run --mount src=$TRAVIS_BUILD_DIR,target=/usr/src/tex,type=bind rekka/tectonic
tectonic main.tex
deploy:
provider: releases
api_key:
secure: [long API key]
file: main.pdf
skip_cleanup: true
on:
repo: [my-repo]
EDIT2: @moewe found this github issue https://github.com/tectonic-typesetting/tectonic/issues/35 which is asking for biblatex support on tectronic. However question remains the same (allthough not necessary with tectronic anymore).
.travis.ymlin the linked answer ends with- travis_wait 3 pdflatex -output-directory _build ./src/nameofmytexfile.texdid you try to add a Biber call there? You can make your life much easier if you don't use a build directory (-output-directory). Remember that you need to runpdflatex,biber,pdflatex,pdflatex. – moewe Sep 19 '18 at 09:13.logand.blgfiles. – moewe Sep 19 '18 at 09:22https://malramsay.com/post/compiling_latex_on_travis/ did work flawlessly. I havent made any cites yet, but soon as I do I will post it as answer. Buildtitme has almost tripled, though
– Joker Sep 26 '18 at 11:51