@@ -7,12 +7,10 @@ compiler:
77
88env :
99 global :
10- - ORIGINAL_CXXFLAGS="-pedantic -Wall -Wextra -Wcast-qual -Wno-deprecated-declarations -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-shadow -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -D_GLIBCXX_DEBUG -g "
10+ - ORIGINAL_CXXFLAGS="-pedantic -Wall -Wextra -Wcast-qual -Wno-deprecated-declarations -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-shadow -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -D_GLIBCXX_DEBUG -g"
1111# unfortunately we need this to stay within 50min timelimit given by travis.
1212 - CXXFLAGS="${ORIGINAL_CXXFLAGS} -O2 -march=native -Wstrict-aliasing=2 -Werror=strict-aliasing"
1313 - CPPCHECK=${TRAVIS_BUILD_DIR}/cppcheck
14- - ASAN_OPTIONS=detect_stack_use_after_return=1
15- - UBSAN_OPTIONS=print_stacktrace=1:halt_on_error=1
1614 matrix :
1715 - CXXFLAGS="${CXXFLAGS} -DCHECK_INTERNAL"
1816 - CXXFLAGS="${CXXFLAGS} -DCHECK_INTERNAL" MAKEFLAGS="HAVE_RULES=yes" MATCHCOMPILER=yes VERIFY=1
@@ -39,9 +37,6 @@ before_install:
3937matrix :
4038# do notify immediately about it when a job of a build fails.
4139 fast_finish : true
42- allow_failures :
43- - name : " rerun dmake?"
44- compiler : clang
4540# defined extra jobs that run besides what is configured in the build matrix
4641 include :
4742
@@ -56,12 +51,8 @@ matrix:
5651 - make checkCWEEntries
5752# check cfg files
5853 - make checkcfg
59- # check platform files
60- - make validatePlatforms
6154# Validate Result XML
6255 - make validateXML
63- # Validate rule files
64- - make validateRules
6556# check htmlreport stuff
6657 - python2 htmlreport/test_htmlreport.py
6758 - python3 htmlreport/test_htmlreport.py
@@ -147,18 +138,6 @@ matrix:
147138 - cd -
148139 - python3 test/bug-hunting/juliet.py
149140
150- # check if dmake needs to be rerun (this job may fail)
151- - name : " rerun dmake?"
152- compiler : clang
153- # we don't need to install any deps for dmake so skip it explicitly
154- before_install :
155- - true
156- script :
157- - echo "If the following command fails, run 'make dmake; make run-dmake' and commit the resulting change."
158- - make -s dmake -j$(nproc)
159- - make -s run-dmake
160- - git diff --exit-code
161-
162141script :
163142# fail the entire job as soon as one of the subcommands exits non-zero to save time and resources
164143 - set -e
@@ -169,8 +148,6 @@ script:
169148 - echo $CXXFLAGS
170149 - make -s check -j$(nproc) CPPFLAGS=-DTEST_MATHLIB_VALUE
171150 - touch lib/mathlib.cpp test/testmathlib.cpp
172- # syntax checking of cppcheck source code with -DNONNEG
173- - ls lib/*.cpp | xargs -n 1 -P 2 g++ -fsyntax-only -std=c++0x -Ilib -Iexternals -Iexternals/picojson -Iexternals/simplecpp -Iexternals/tinyxml2 -DNONNEG
174151# compile cppcheck, default build
175152 - echo $CXXFLAGS
176153 - make -s check -j$(nproc)
@@ -182,12 +159,3 @@ script:
182159# Testing addons (disabled 2020-11-24 because Travis fails, TODO try to enable these)
183160# - PYTHONPATH=./addons python -m pytest addons/test/test-*.py
184161# - PYTHONPATH=./addons python3 -m pytest addons/test/test-*.py
185-
186- notifications :
187- irc :
188- channels :
189- - " irc.freenode.org#cppcheck"
190- template :
191- - " [%{commit} : %{author}] %{message}"
192- - " %{build_url}"
193- skip_join : true
0 commit comments