Get travis working

Initial, vaguely hacky, but this gets travis testing working