Add travis CI config.

A number of tests are failing in the current HEAD - patches are being pushed upstream without proper testing. I figured this would help. See my other pull request for fixes to those tests.