Add a travis.yml file so that the tests run properly on Travis

This is largely based on the work that Matthew Somerville did to
get the MapIt tests running on Travis.