Add .travis.yml for Travis CI

This adds a `.travis.yml` for Travis CI.

For instructions on setting up Travis CI, see http://docs.travis-ci.com/user/getting-started/