Skip to content

Commit 5b97e2d

Browse files
Anton-Latukhajwiegley
authored andcommitted
.travis.yml: increase depth to have Travis git caching between jobs
Setting of 1 would be problematic when PRs would start to pour.
1 parent 82b2d8a commit 5b97e2d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ language: nix
77
sudo: required
88

99
git:
10-
depth: 1
10+
depth: 4 # NOTE: "The use of clone depth: 1 often results in a git error
11+
# when a new commit has been pushed to a branch before the CI
12+
# platform started cloning the intended commit."
1113

1214
env:
1315
global:

0 commit comments

Comments
 (0)