Commit graph

3 commits

Author SHA1 Message Date
Fabian Greffrath
1e606b8a61 travis: print cppcheck's output to stdout
This prevents Travis from believing that an error has occurred after
10 minutes without output. Capture error messages in a file and print
its content after cppcheck has finished.

Exit the script with cppcheck's exit code.

Thanks @turol for your help with this!
2019-01-24 12:18:28 +01:00
Turo Lamminen
e326cd331e travis: Treat warnings as errors 2018-01-27 16:46:04 +02:00
turol
63141cfc0d Add cppcheck static analysis to travis build (#939)
This runs cppcheck static analysis as part of the travis-ci checks. The
current Travis version of cppcheck doesn't appear to support all the checks
we want, but for now should be sufficient. Identified issues that would cause
these checks to fail have been resolved in previous commits.

Thanks to @turol for doing the work to set this up.
2017-09-03 16:29:27 -04:00