Commit Graph

144 Commits

Author SHA1 Message Date
Daniel Marjamäki 68a91b73da Travis: Enforce naming convention, private variable names must start with 'm[A-Z]' 2018-06-18 09:55:43 +02:00
amai2012 453c663fb0
#8611 Rename xmlV2.rng. Renaming it to cppcheck-errors.rng (#1278) 2018-06-06 15:25:09 +02:00
amai2012 978bc7c150 Activate validation of --errorlist output (#1248) 2018-05-20 14:54:38 +02:00
amai2012 e2ea82908a #5718: temporarily disable make validateXMLV2 on travis 2018-05-17 13:48:06 +02:00
amai2012 64f0d31280 #5718 Supply DTD/XSD/RNG for cppcheck XML output - supply rng for current XML output. Add an automatic check on travis against the --errorlist output 2018-05-17 12:46:15 +02:00
Daniel Marjamäki e0a6ab1a0f activate misra regression tests 2018-05-16 11:13:25 +02:00
Matthias Krüger 9949768d7c travis: install wx-common which is used in test/cfg/runtests.sh 2018-05-13 12:32:19 +02:00
Matthias Krüger 547934b5a5 travis: use $CPPCHECK global containing absolute path to cppcheck executable 2018-05-13 12:32:14 +02:00
Matthias Krüger 1a1bb10511 travis: add misra tests to ci 2018-05-12 00:50:05 +02:00
Matthias Krüger 73a9f05a73 travis: update commits of the clang/llvm repo we are checking during CI
I had to reduce cppchecks stdout amount a bit and suppress unreadVariable warnings to not hit the 4MB log file limit on travis while checking llvm/clang.
2018-05-10 14:46:09 +02:00
Matthias Krüger ef574987d5 travis: also honor suppressions when checking cppcheck-gui code. 2018-04-27 13:10:42 +02:00
Daniel Marjamäki dffad3b3d1 Remove some more cxx11emu.h references 2018-04-10 06:52:33 +02:00
Daniel Marjamäki c987f88ebc Revert "Travis: use the generated cfg tests"
This reverts commit daa142ff25.
2018-03-19 21:45:31 +01:00
Daniel Marjamäki daa142ff25 Travis: use the generated cfg tests 2018-03-19 21:15:14 +01:00
Matthias Krüger f009cfc845 fix some typos found by codespell. 2018-02-04 20:53:43 +01:00
Daniel Marjamäki 81a7d759e4 Revert "travis: clang check: skip test/Analysis/padding_cpp.cpp because it generates ~700 kb of output on its own causing us to hit 4 megabyte output limit on travis."
This reverts commit fdb0d354ef.
2017-12-30 22:16:34 +01:00
Matthias Krüger fdb0d354ef travis: clang check: skip test/Analysis/padding_cpp.cpp because it generates ~700 kb of output on its own causing us to hit 4 megabyte output limit on travis. 2017-12-30 10:09:29 +01:00
Matthias Krüger ad9876d133 Revert "Travis: Reduce log size, hope this makes Travis happy"
This reverts commit 91f448966c.
2017-12-30 10:07:17 +01:00
Daniel Marjamäki 91f448966c Travis: Reduce log size, hope this makes Travis happy 2017-12-30 09:40:53 +01:00
Matthias Krüger 61ca480b85 travis: add an extra dmake job which will not fail the entire build if the makefile needs to be regenerated 2017-11-27 11:50:23 +01:00
Matthias Krüger 3a42e31cc3 travis: fix typo in previous commit I made to this file.
Thanks to @hexcoder- for pointing out!
2017-10-20 19:26:05 +02:00
Matthias Krüger db99eacbe9 travis: fail the entire job as soon as one of the run commands exits non-zero. 2017-10-19 22:44:52 +02:00
Daniel Marjamäki d22614bdaa Use cppcheck-lib.cfg in travis and during release 2017-10-10 12:29:22 +02:00
Daniel Marjamäki 702947c540 Revert "Travis: Add GUI tests"
This reverts commit 481853b65a.
2017-08-13 13:11:55 +02:00
Daniel Marjamäki 481853b65a Travis: Add GUI tests 2017-08-13 11:10:08 +02:00
Daniel Marjamäki cefb8bc71f Travis: Switch from qt4 to qt5 2017-07-31 07:12:17 +02:00
Daniel Marjamäki f9e5313dc9 Travis: Disable Misra tests for now 2017-07-29 10:41:24 +02:00
Matthias Krüger d13a8d6a32 travis: update from ubuntu precise to trusty
Unfortunately we have to disable htmlreport test due to pygments being unavailable.
2017-07-26 23:24:42 +02:00
Daniel Marjamäki 3d7265309b travis: Add 'make validateCFG' 2017-07-23 18:40:16 +02:00
Matthias Krüger cc4ea59b4a travis: invoke make with -s (silent) parameter to reduce stdout. 2017-06-06 22:54:16 +02:00
Matthias Krüger c185a8aae9 travis: add -Wstrict-aliasing=2 -Werror=strict-aliasing to CXXFLAGS 2017-06-05 23:10:28 +02:00
Matthias Krüger e3a751140c travis.yml: minor formatting change. NFC 2017-05-20 13:34:51 +02:00
Matthias Krüger eaaf6268a9 travis: make gui check the same as normal check but with qt settings and don't check gui twice. 2017-04-22 21:53:22 +02:00
Daniel Marjamäki 1a47c57aea Try to fix Travis 2017-04-22 21:33:20 +02:00
Daniel Marjamäki 06239907f1 Travis: Check GUI code 2017-04-22 19:44:07 +02:00
Daniel Marjamäki 0ba8885d89 Travis: Add misra test 2017-04-14 12:44:24 +02:00
Matthias Krüger 59b0c6f6b1 travis: self check: add missing include paths that cppcheck didn't find. 2017-04-09 17:28:19 +02:00
Daniel Marjamäki f67f2a2339 Travis: skip the addons folder when selfchecking 2017-04-09 08:50:05 +02:00
Matthias Krüger c16d82d729 travis: llvm check: unignore file that no longer crashes. 2017-04-07 14:56:07 +02:00
Matthias Krüger f8d8a96aa2 travis: another attempt to fix syntax. Apparently travis hates ':' inside strings... 2017-04-05 15:40:17 +02:00
Matthias Krüger c931a10294 travis: attempt to fix syntax error, change ' to ". 2017-04-05 14:37:23 +02:00
Matthias Krüger f8ba1e4c5d travis: clang/llvm check: print message id so we can fatalize found errors more easily. 2017-04-05 14:11:11 +02:00
Matthias Krüger d06ed9d5d0 travis: clang check: no longer need to ignore test/Analysis/new.cpp. 2017-04-04 00:09:34 +02:00
Matthias Krüger f7bfbee809 travis: put use gcc before clang 2017-04-02 19:33:46 +02:00
Matthias Krüger 349605eb41 travis: reorder jobs for faster execution (since several jobs are launched in parallel) 2017-04-02 19:25:31 +02:00
Matthias Krüger bea1310524 travis: llvm/clang check: compile these job swith clang instead of gcc for better performance 2017-04-02 19:24:24 +02:00
Matthias Krüger e21c3dc50a travis: llvm/clang check: ignore checking files with known crash (#7934) for now. 2017-04-02 18:49:45 +02:00
Matthias Krüger d54744b70e travis: update clang and llvm check
update clang and llvm hashes of the repos we check
move llvm-check and clang-check into seperate jobs to prevent exceeding 4 MB log size limit.
2017-03-26 12:52:46 +02:00
Matthias Krüger 0b3fe1807b travis: reenable original CXXFLAGS 2016-12-05 23:43:16 +01:00
Daniel Marjamäki 73d87856ce Travis: don't check that there are no errors in the synthetic tests 2016-11-02 12:16:41 +01:00