Commit graph

7 commits

Author SHA1 Message Date
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
Simon Howard
034d2a9fdf Remove library deps not needed for sdl2-branch.
Once this branch is merged, the old SDL1 dependencies will be
automatically removed.
2016-06-13 00:47:42 -04:00
Simon Howard
e132bd497b Do make {install,dist} as part of travis build. 2016-06-08 23:20:53 -04:00
Simon Howard
3ec49f4028 Switch builds to use Trusty.
SDL2 packages are too new for Ubuntu Precise, which is from 2012.
Switch to the Trusty beta environment, as documented here:

https://docs.travis-ci.com/user/trusty-ci-environment/
2016-06-05 11:52:50 -04:00
Simon Howard
dbc0aaf109 Fix travis build of master branch?
Currently Travis is excluding master from builds. It looks like there
was probably a syntax error; let's see if this fixes it.
2016-06-05 11:47:44 -04:00
Simon Howard
f3405a4d5c Use apt addon rather than sudo for builds.
The 'sudo apt-get install' instructions on the travis-ci website don't
work for containerized builds; instead we must specify packages to
install using the apt addon.
2016-06-05 11:28:02 -04:00
Simon Howard
f8063a2747 Add build file for Travis CI. 2016-06-05 11:17:25 -04:00