Travis: Activate and speedup NONNEG syntax check

This commit is contained in:
Daniel Marjamäki 2019-07-15 13:01:58 +02:00
parent 97838f104c
commit bafffa6cf2
1 changed files with 1 additions and 1 deletions

View File

@ -209,7 +209,7 @@ script:
- make -s test -j2 CPPFLAGS=-DTEST_MATHLIB_VALUE - make -s test -j2 CPPFLAGS=-DTEST_MATHLIB_VALUE
- touch lib/mathlib.cpp test/testmathlib.cpp - touch lib/mathlib.cpp test/testmathlib.cpp
# syntax checking of cppcheck source code with -DNONNEG # syntax checking of cppcheck source code with -DNONNEG
# - g++ -fsyntax-only -std=c++0x -Ilib -Iexternals -Iexternals/simplecpp -Iexternals/tinyxml -DNONNEG lib/*.cpp cli/*.cpp - ls lib/*.cpp | xargs -n 1 -P 2 g++ -fsyntax-only -std=c++0x -Ilib -Iexternals -Iexternals/simplecpp -Iexternals/tinyxml -DNONNEG
# compile cppcheck, default build # compile cppcheck, default build
- echo $CXXFLAGS - echo $CXXFLAGS
- make -s test -j2 - make -s test -j2