Adds Travis for continuous integration.

This is in response to pull request #206.