Merge pull request #203 from matthiaskrgr/travis

travis: install cppcheck syswide to check if CFGDIR and SRCDIR=build work.
This commit is contained in:
Daniel Marjamäki 2014-01-01 03:54:04 -08:00
commit eb0a98092b
1 changed files with 6 additions and 0 deletions

View File

@ -19,6 +19,12 @@ script:
- cd ../ - cd ../
- mkdir install_test - mkdir install_test
- make DESTDIR=install_test install - 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: notifications:
irc: irc:
channels: channels: