travis: install cppcheck syswide to check if CFGDIR and SRCDIR=build work.

This commit is contained in:
Matthias Krüger 2013-12-31 15:20:30 +01:00
parent 621cf6e777
commit aa4ab4a514
1 changed files with 6 additions and 0 deletions

View File

@ -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: