cppcheck/.travis.yml

38 lines
1.0 KiB
YAML
Raw Normal View History

2012-09-02 11:37:18 +02:00
language: cpp
compiler:
- gcc
2012-09-05 06:45:39 +02:00
- clang
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq python-pygments libqt4-core libqt4-gui libqt4-dev qt4-dev-tools qt4-qmake libxml2-utils
script:
- mkdir build
- make test SRCDIR=build VERIFY=1 -j 4
- ./cppcheck --error-exitcode=1 -Ilib --enable=style --suppress=duplicateBranch cli gui lib -igui/test
2013-10-07 16:58:53 +02:00
- cd gui
- qmake
- make -j 4
2013-10-07 16:58:53 +02:00
- cd ../
- ./htmlreport/test_htmlreport.py
- cd htmlreport
- ./check.sh
- cd ../
2013-10-07 21:38:03 +02:00
- 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
2014-01-02 10:51:18 +01:00
- make reduce -j 4
2013-02-11 19:32:53 +01:00
notifications:
irc:
channels:
- "irc.freenode.org#cppcheck"
template:
- "[%{commit} : %{author}] %{message}"
- "%{build_url}"
skip_join: true