Add Travis CI integration

Added a Travis configuration file that tells the CI how to build and
test the project.