Skip to content

Instantly share code, notes, and snippets.

@snim2
Last active August 31, 2023 20:03
Show Gist options
  • Star 14 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save snim2/9160862 to your computer and use it in GitHub Desktop.
Save snim2/9160862 to your computer and use it in GitHub Desktop.
Travis-CI recipe for testing LaTeX projects compiled by a Makefile
install:
- sudo apt-get install texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended
- sudo apt-get install chktex
script:
- make
- chktex -W # Print version information.
- chktex -q -n 6 *.tex chapters.*.tex 2>/dev/null | tee lint.out
# If lint output is non-empty report an error.
- test ! -s lint.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment