Add configuration and a script to auto-build with travis-ci

This may also be the beginning of a framework for automated tests.