alanshaw / david

:eyeglasses: Node.js module that tells you when your package npm dependencies are out of date.
https://david-dm.org
MIT License
969 stars 70 forks source link

chore: clone last 5 commits #145

Closed DanielRuf closed 6 years ago

coveralls commented 6 years ago

Coverage Status

Coverage remained the same at 93.22% when pulling d4bf0e6efb752a0a7ec71802f0228ba27f45626d on DanielRuf:chore/clone-last-5-commits into a3dd565dd1f717a1e586dd19ef61b84843d6c024 on alanshaw:master.

westy92 commented 6 years ago

Just curious how 5 was chosen. Why not 1?

DanielRuf commented 6 years ago

Just curious how 5 was chosen. Why not 1?

Because this would slowdown the build pipeline.

https://docs.travis-ci.com/user/customizing-the-build#Git-Clone-Depth

Please note that if you use a depth of 1 and have a queue of jobs, Travis CI won’t build commits that are in the queue when you push a new commit.

alanshaw commented 6 years ago

Thanks 👍