From bafffa6cf28e8e58ab027c2ad09621898891caf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Mon, 15 Jul 2019 13:01:58 +0200 Subject: [PATCH] Travis: Activate and speedup NONNEG syntax check --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 96e013b9e..9471dbdf1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -209,7 +209,7 @@ script: - make -s test -j2 CPPFLAGS=-DTEST_MATHLIB_VALUE - touch lib/mathlib.cpp test/testmathlib.cpp # 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 - echo $CXXFLAGS - make -s test -j2