minor #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 https://github.com/travis-ci/travis-ci/issues/4575#issuecomment-125200308, 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
This commit is contained in:
commit
8ae5dc35f5
@ -2,6 +2,9 @@ language: php
|
|||||||
|
|
||||||
sudo: false
|
sudo: false
|
||||||
|
|
||||||
|
git:
|
||||||
|
depth: 1
|
||||||
|
|
||||||
addons:
|
addons:
|
||||||
apt_packages:
|
apt_packages:
|
||||||
- parallel
|
- parallel
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
build: false
|
build: false
|
||||||
shallow_clone: true
|
clone_depth: 1
|
||||||
platform: x86
|
|
||||||
clone_folder: c:\projects\symfony
|
clone_folder: c:\projects\symfony
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
|
Reference in New Issue
Block a user