Travis: Activate and speedup NONNEG syntax check
This commit is contained in:
parent
97838f104c
commit
bafffa6cf2
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue