Avoid duplicate build for TravisCI triggered snapshot generation.