Hack up a means of building and running tests in Travis.ci

Short of using autoconf this will do for now I hope.