Adjust Travis to also compile, to test that compilation still succeeds

Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)
Merge pull request #7124 from tianon/travis-compile

Adjust Travis to also compile, to test that compilation still succeeds