install:
  - sudo apt-get update
  - sudo apt-get install texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended texlive-science texlive-bibtex-extra
  - sudo apt-get install chktex latexmk

script:
  - latexmk masterthesis
  - latexmk presentation
  #- chktex -q -n 6 *.tex **/*.tex 2>/dev/null | tee lint.out
  #- test ! -s lint.out

install:
  - sudo apt-get update
  - sudo apt-get install texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended texlive-science texlive-bibtex-extra
  - sudo apt-get install latexmk
  #- sudo apt-get install chktex

script:
  - latexmk masterthesis
  - latexmk presentation
  #- chktex -q -n 6 *.tex **/*.tex 2>/dev/null | tee lint.out
  #- test ! -s lint.out

Move chktex to separate install command and comment it out as we are not using chktext at the moment.
Move chktex to separate install command and comment it out as we are not using chktext at the moment.
