Add a basic travis configuration.

This enables continuous integration using travis.