diff --git a/.travis.yml b/.travis.yml index e73ecca1..bbc1ab4e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -49,10 +49,12 @@ matrix: - os: linux compiler: clang env: SCAN_BUILD=YES + before_install: + - sudo apt-get install -y cppcheck before_script: - - if [ "$(uname)" = "Linux" ]; then sudo apt-get update; sudo apt-get install -y texlive texinfo texi2html doxygen; fi - - if [ "$(uname)" = "Darwin" ]; then brew update; brew cask install mactex; brew install texi2html texinfo doxygen; fi + - if [ "$(uname)" = "Linux" ]; then sudo apt-get update; sudo apt-get install -y texlive texinfo texi2html doxygen cppcheck; fi + - if [ "$(uname)" = "Darwin" ]; then brew update; brew cask install mactex; brew install texi2html texinfo doxygen cppcheck; fi script: - chmod +x travis.sh