Set up travis.

Partial fix for #5.