sbaudoin / sonar-ansible

SonarQube plugin to analyze Ansible playbooks
Apache License 2.0
71 stars 17 forks source link

Shallow cloning on travis #37

Closed chenzhang22 closed 3 years ago

chenzhang22 commented 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.

sbaudoin commented 3 years ago

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/