Skip to content

Commit

Permalink
CI latexmk -interaction=nonstopmode not working; use more conservativ…
Browse files Browse the repository at this point in the history
…e -halt-on-error
  • Loading branch information
jnothman committed Jun 29, 2017
1 parent 980e239 commit fa73cd7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions build_tools/circle/build_doc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,8 @@ fi

if [[ "$CIRCLE_BRANCH" =~ ^master$|^[0-9]+\.[0-9]+\.X$ && -z "$CI_PULL_REQUEST" ]]
then
# dist generates the pdf doc and adds the pdf to the website
# nonstopmode is used to prevent CI timeout when the LaTeX
# compilation fails
MAKE_TARGET="dist LATEXMKOPTS=-interaction=nonstopmode"
# PDF linked into HTML
MAKE_TARGET="dist LATEXMKOPTS=-halt-on-error"
elif [[ "$build_type" =~ ^QUICK ]]
then
MAKE_TARGET=html-noplot
Expand Down

0 comments on commit fa73cd7

Please sign in to comment.