Added a .travis.yml file for Travis CI.

This isn't used yet due to possible issues with existing PRs, but having
it on the repo will help.