mirror of
https://github.com/vale981/travis-ci-latex-pdf
synced 2025-03-04 17:01:39 -05:00
Run pdflatex in Unix-fashion non-interactive mode
When run without these options and encountering an error, Travis aborts the LaTeX build only after 10 minutes of output inactivity. This fix stops the execution immediately and fails with status of 1.
This commit is contained in:
parent
458a51c7ed
commit
675a68f229
1 changed files with 2 additions and 2 deletions
|
@ -3,8 +3,8 @@ before_install:
|
|||
- sudo apt-get -qq update && sudo apt-get install -y --no-install-recommends texlive-fonts-recommended texlive-latex-extra texlive-fonts-extra dvipng texlive-latex-recommended
|
||||
script:
|
||||
- mkdir _build
|
||||
- pdflatex -output-directory _build tex/your_file_1.tex
|
||||
- pdflatex -output-directory _build tex/your_file_2.tex
|
||||
- pdflatex -interaction=nonstopmode -halt-on-error -output-directory _build tex/your_file_1.tex
|
||||
- pdflatex -interaction=nonstopmode -halt-on-error -output-directory _build tex/your_file_2.tex
|
||||
deploy:
|
||||
provider: releases
|
||||
api_key:
|
||||
|
|
Loading…
Add table
Reference in a new issue