Check build with cppcheck.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2015-04-13 19:25:07 +03:00
parent 3120566d02
commit dcc40b74d3

View File

@ -18,7 +18,7 @@ before_install:
- sudo add-apt-repository ppa:ubuntu-sdk-team/ppa -y - sudo add-apt-repository ppa:ubuntu-sdk-team/ppa -y
- sudo apt-get update -qq - sudo apt-get update -qq
- sudo apt-get install -y qtbase5-dev libqt5svg5-dev ccache qt5-default qttools5-dev-tools libqt5xmlpatterns5-dev - sudo apt-get install -y qtbase5-dev libqt5svg5-dev ccache qt5-default qttools5-dev-tools libqt5xmlpatterns5-dev
- sudo apt-get install -y libqt5core5 libqt5gui5 libqt5printsupport5 libqt5svg5 libqt5widgets5 libqt5xml5 libqt5xmlpatterns5 xpdf - sudo apt-get install -y libqt5core5 libqt5gui5 libqt5printsupport5 libqt5svg5 libqt5widgets5 libqt5xml5 libqt5xmlpatterns5 xpdf cppcheck
before_script: before_script:
- mkdir build - mkdir build
@ -29,6 +29,7 @@ before_script:
- qmake ../Valentina.pro -r - qmake ../Valentina.pro -r
script: script:
- cppcheck --error-exitcode=1 --quiet --std=posix --enable=performance,portability,warning,style .
- make -j$(nproc) - make -j$(nproc)
- make check - make check