Encapsulates a build, used by travis-worker (forked for scala support maintenance)