Merge pull request #179 from matthiaskrgr/travis_speedup

travis: use -j 4 to build cppcheck, the testrunner and cppcheck-gui.
This commit is contained in:
Daniel Marjamäki 2013-10-08 11:42:50 -07:00
commit ff89a08b8f
1 changed files with 2 additions and 2 deletions

View File

@ -4,13 +4,13 @@ compiler:
- clang - clang
script: script:
- mkdir build - mkdir build
- make test SRCDIR=build VERIFY=1 - make test SRCDIR=build VERIFY=1 -j 4
- ./cppcheck --error-exitcode=1 -Ilib --enable=style --suppress=duplicateBranch cli gui lib -igui/test - ./cppcheck --error-exitcode=1 -Ilib --enable=style --suppress=duplicateBranch cli gui lib -igui/test
- sudo apt-get update - sudo apt-get update
- sudo apt-get install python-pygments libqt4-core libqt4-gui libqt4-dev qt4-dev-tools qt4-qmake - sudo apt-get install python-pygments libqt4-core libqt4-gui libqt4-dev qt4-dev-tools qt4-qmake
- cd gui - cd gui
- qmake - qmake
- make - make -j 4
- cd ../ - cd ../
- ./htmlreport/test_htmlreport.py - ./htmlreport/test_htmlreport.py
- cd htmlreport - cd htmlreport