Trying to optimise our Travis-CI script. The idea is that if something fails, then we don't do the rest.