Try to fix Travis

This commit is contained in:
Daniel Marjamäki 2019-07-14 21:56:33 +02:00
parent 7be6fbf658
commit 33284be64a
1 changed files with 5 additions and 5 deletions

View File

@ -209,9 +209,9 @@ script:
- make -s test -j2 CPPFLAGS=-DTEST_MATHLIB_VALUE
- touch lib/mathlib.cpp test/testmathlib.cpp
# compile cppcheck with -DNONNEG
# - echo $CXXFLAGS
# - make -s CPPFLAGS=-DNONNEG -j2
# - make clean
- echo $CXXFLAGS
- make -s CPPFLAGS=-DNONNEG -j2
- make clean
# compile cppcheck, default build
- echo $CXXFLAGS
- make -s test -j2
@ -223,9 +223,9 @@ script:
# building gui generates some more files that cppcheck can check, so check the repo *after* building gui
- cd ../
# self check
- ${CPPCHECK} --template=gcc -D__CPPCHECK__ -f --error-exitcode=1 --library=cppcheck-lib -Ilib -Iexternals/simplecpp/ -Iexternals/tinyxml/ -Icli --inconclusive --enable=style,performance,portability,warning,internal --exception-handling --inline-suppr --suppressions-list=.travis_suppressions -itest/cli -itest/synthetic -itest/testsuites -iaddons -igui cli lib gui test tools -j 2
- ${CPPCHECK} --template=gcc -D__CPPCHECK__ --error-exitcode=1 --library=cppcheck-lib -Ilib -Iexternals/simplecpp/ -Iexternals/tinyxml/ -Icli --inconclusive --enable=style,performance,portability,warning,internal --exception-handling --inline-suppr --suppressions-list=.travis_suppressions -itest/cli -itest/synthetic -itest/testsuites -iaddons -igui cli lib gui test tools -j 2
# check gui with qt settings
- ${CPPCHECK} --template=gcc --library=qt --error-exitcode=1 -Ilib -Iexternals/simplecpp/ -Iexternals/tinyxml/ -Icli --enable=style,performance,portability,warning,internal --exception-handling -j 2 gui --suppressions-list=.travis_suppressions -igui/test
- ${CPPCHECK} --template=gcc -D__CPPCHECK__ --library=qt --error-exitcode=1 -Ilib -Iexternals/simplecpp/ -Iexternals/tinyxml/ -Icli --enable=style,performance,portability,warning,internal --exception-handling -j 2 gui --suppressions-list=.travis_suppressions -igui/test
# check naming conventions
- ${CPPCHECK} -i gui/test -j 2 --dump -q gui lib
- find lib gui -maxdepth 1 -name "*.dump" | xargs -n 1 -P 4 python addons/naming.py --private-member-variable='m[A-Z].*'