From 135c3c8f4e85be4aa655aac0d9b18be2ce5e4e0a Mon Sep 17 00:00:00 2001 From: Ilya Shipitsin Date: Sun, 24 Apr 2016 16:51:12 +0600 Subject: cppcheck added on build --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 450b085..6e46368 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,8 +16,9 @@ env: install: - sudo apt-get update - - sudo apt-get install -y $LUA luarocks + - sudo apt-get install -qq -y $LUA luarocks cppcheck script: + - cppcheck --force --error-exitcode=1 --enable=warning . > build.log 2>&1 || (cat build.log && exit 1) - make - sh runtests.sh -- cgit v1.2.3-55-g6feb