From f06238aaae1fad41a23aa726d8006c2f76281a6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C8=98tefan=20Talpalaru?= Date: Thu, 7 Mar 2019 12:46:44 +0100 Subject: [PATCH] CI: don't set a depth for submodule cloning because the build will fail when we're too far behind upstream and our target commit is not included in that depth any more --- .appveyor.yml | 2 -- .travis.yml | 1 - 2 files changed, 3 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 0861904e8..92983139c 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -21,8 +21,6 @@ install: build_script: - cd C:\projects\%APPVEYOR_PROJECT_SLUG% - # speed up submodule cloning - - git submodule update --init --recursive --depth 10 # the 32-bit build is done on a 64-bit image, so we need to override the architecture - mingw32-make ARCH_OVERRIDE=%PLATFORM% fetch-dlls - dir C:\mingw-w64 diff --git a/.travis.yml b/.travis.yml index 4fabacafc..0eaa35ed5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,7 +8,6 @@ cache: git: # when multiple CI builds are queued, the tested commit needs to be in the last X commits cloned with "--depth X" depth: 10 - submodules_depth: 10 matrix: include: