Add travis config

This is actually not all these commits, because this depends on #3 -- when that is merged this can be rebased and then will only include the relevant commits for travis.