Skip to content

Commit 8ae5dc3

Browse files
committed
minor symfony#17889 [ci] clone with depth=1 to kill push-forced PRs (nicolas-grekas)
This PR was merged into the 2.3 branch. Discussion ---------- [ci] clone with depth=1 to kill push-forced PRs | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | no | Fixed tickets | - | License | MIT | Doc PR | - As documented in travis-ci/travis-ci#4575 (comment), setting a clone depth of 1 will make push-forced PRs to fail quickly so that our CI won't spend too much time on them. Commits ------- 562d4d6 [ci] clone with depth=1 to kill push-forced PRs
2 parents 3961412 + 562d4d6 commit 8ae5dc3

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ language: php
22

33
sudo: false
44

5+
git:
6+
depth: 1
7+
58
addons:
69
apt_packages:
710
- parallel

appveyor.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
build: false
2-
shallow_clone: true
3-
platform: x86
2+
clone_depth: 1
43
clone_folder: c:\projects\symfony
54

65
cache:

0 commit comments

Comments
 (0)