add an initial travis-ci configuration

A basic travis-ci config, largely taken from the one in dist-zilla.