cppcheck/.travis.yml

29 lines
887 B
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
script:
- mkdir build
- make test SRCDIR=build VERIFY=1
- ./cppcheck --error-exitcode=1 -Ilib --enable=style --suppress=duplicateBranch cli gui lib -igui/test
- sudo apt-get update
2013-10-07 16:58:53 +02:00
- sudo apt-get install python-pygments libqt4-core libqt4-gui libqt4-dev qt4-dev-tools qt4-qmake
- cd gui
- qmake
- make
- cd ../
- ./htmlreport/test_htmlreport.py
- cd htmlreport
- ./cppcheck-htmlreport --file ../gui/test/data/xmlfiles/xmlreport_v1.xml --title "this is a test" --report-dir . --source-dir ../test/
- ./cppcheck-htmlreport --file ../gui/test/data/xmlfiles/xmlreport_v2.xml --title "this is a test" --report-dir . --source-dir ../test/
- cd ../
2013-02-11 19:32:53 +01:00
notifications:
irc:
channels:
- "irc.freenode.org#cppcheck"
template:
- "[%{commit} : %{author}] %{message}"
- "%{build_url}"
skip_join: true