Add support for continuous integration using Travis-CI

This branch allows the tests to be run on Travis-CI.