From d71e3c802a334a608a4bed8a4694000da2bb2919 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Mon, 22 Jul 2019 23:36:28 +0200 Subject: [PATCH] AppVeyor|Travis: Re-introduce clone depth MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 | 3 +++ appveyor.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.travis.yml b/.travis.yml index 9998ba4c..877f00e2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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' diff --git a/appveyor.yml b/appveyor.yml index 5008fb42..692387b2 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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