]> granicus.if.org Git - libexpat/commitdiff
AppVeyor|Travis: Re-introduce clone depth
authorSebastian Pipping <sebastian@pipping.org>
Mon, 22 Jul 2019 21:36:28 +0000 (23:36 +0200)
committerSebastian Pipping <sebastian@pipping.org>
Mon, 22 Jul 2019 21:39:56 +0000 (23:39 +0200)
Depth 1 made surpassed pushed fail so it was dropped.
No depth limit wastes time and hardware resources though, and
has some risk that depth 1 will be re-introduced, by mistake.
So let's try 50 now.

Related commits:
10c235458830fc894a6381cf6267246c68848adf — AppVeyor
88cf657da91ef7a83d705cf7951cfd6c6b7d98fc — Travis

.travis.yml
appveyor.yml

index 9998ba4c2716291d0598649dfe9b9c50c6d43ecd..877f00e231e0bbc7a6e3780c8510ee4a75a7f4cc 100644 (file)
@@ -12,6 +12,9 @@ dist: trusty
 # https://github.com/travis-ci/travis-ci/issues/9033
 sudo: required
 
+git:
+  depth: 50
+
 env:
   global:
     - CFLAGS='-g -pipe'
index 5008fb42c107d8237441cd0cf288a88f542a5072..692387b2a55e6695983942f10391e2b682e3ecdf 100644 (file)
@@ -36,6 +36,9 @@ init:
 # version format
 version: libexpat-{build}
 
+# set clone depth, clone entire repository history if not defined
+clone_depth: 50
+
 # clone directory
 clone_folder: c:\projects\libexpat