Adds integration with Travis for continuous integration.

This is in response to pull request #206.