Add Travis CI configuration.

Fixes #99.