Change git cloning depth to 1 to make the Travis builds faster
By default, Travis uses a depth of 50 when cloning git repositories. This commit changes the depth to 1. This will make each Travis build run slightly faster.
This commit is contained in:
parent
e38d0dfdb1
commit
cc71d70cce
|
@ -92,3 +92,8 @@ branches:
|
|||
|
||||
before_install:
|
||||
- composer self-update --1
|
||||
|
||||
# Git clone depth
|
||||
# By default Travis CI clones repositories to a depth of 50 commits. Using a depth of 1 makes this step a bit faster.
|
||||
git:
|
||||
depth: 1
|
||||
|
|
Loading…
Reference in New Issue