From aa4ab4a51483d8e74e9c1b8d64757c0bac21f108 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Kr=C3=BCger?= Date: Tue, 31 Dec 2013 15:20:30 +0100 Subject: [PATCH] travis: install cppcheck syswide to check if CFGDIR and SRCDIR=build work. --- .travis.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.travis.yml b/.travis.yml index c4b86040c..592671893 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,6 +19,12 @@ script: - cd ../ - mkdir install_test - make DESTDIR=install_test install + - make clean + - make SRCDIR=build CFGDIR=/usr/share/cppcheck/cfg HAVE_RULES=yes -j 4 + - sudo make SRCDIR=build CFGDIR=/usr/share/cppcheck/cfg HAVE_RULES=yes install + - sudo mkdir -p /usr/share/cppcheck/cfg + - sudo install -D ./cfg/* -t /usr/share/cppcheck/cfg + - /usr/bin/cppcheck ./cli notifications: irc: channels: