Closed chenzhang22 closed 3 years ago
According to https://docs.travis-ci.com/user/customizing-the-build#git-clone-depth, Travis CI provide a way to shallow clone a repository. This has the obvious benefit of speed, since you only need to download a small number of commits.
Hello. Thanks for the PR but shallow clone has been disabled on purpose to allow SoarQube to retrieve blame information. See https://docs.sonarqube.org/latest/analysis/scm-integration/
According to https://docs.travis-ci.com/user/customizing-the-build#git-clone-depth, Travis CI provide a way to shallow clone a repository. This has the obvious benefit of speed, since you only need to download a small number of commits.