File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ before_install:
1818 - if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get install info install-info; fi
1919 - if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo pip install cpp-coveralls; fi
2020 - if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo pip install gcovr; fi
21+ - if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get install cppcheck; fi
2122 - if [ "$TRAVIS_OS_NAME" = "osx" ]; then export CFLAGS='-mtune=generic'; fi
2223 - curl https://s3.amazonaws.com/libhttpserver/libmicrohttpd_releases/libmicrohttpd-0.9.59.tar.gz -o libmicrohttpd-0.9.59.tar.gz
2324 - tar -xvzf libmicrohttpd-0.9.59.tar.gz
@@ -79,6 +80,7 @@ script:
7980 cat test/test-suite.log ;
8081 ls -l /usr/local/lib/ ;
8182 ls -l /usr/lib/ ;
83+ if [ "$TRAVIS_OS_NAME" = "linux" ]; then cd ../src/; cppcheck --error-exitcode=1 .; cd ../build; fi
8284 fi
8385after_success :
8486 - if [ "$DEBUG" = "debug" ] && [ "$TRAVIS_OS_NAME" = "linux" ]; then ../ci-report-coverage; fi
You can’t perform that action at this time.
0 commit comments