From 08ed650c7801ab3998bd0b61d3965553ba43b06e Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Tue, 25 Feb 2020 15:53:23 +0100 Subject: [PATCH] =?UTF-8?q?[CI]=C2=A0Clone=20git=20repository=20with=20a?= =?UTF-8?q?=20depth=20of=201=20in=20the=20CI.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/scripts/common.py | 1 + travis/compile_all.py | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/scripts/common.py b/.github/scripts/common.py index de52aa9..b47fe5a 100644 --- a/.github/scripts/common.py +++ b/.github/scripts/common.py @@ -68,6 +68,7 @@ def run_kiwix_build( command = ["kiwix-build"] command.append(target) command.append("--hide-progress") + command.append("--fast-clone") if platform == "flatpak" or platform.startswith("win32_"): command.append("--assume-packages-installed") if target == "kiwix-lib-app" and platform.startswith("android_"): diff --git a/travis/compile_all.py b/travis/compile_all.py index 31dda69..6f3cfdf 100755 --- a/travis/compile_all.py +++ b/travis/compile_all.py @@ -89,6 +89,7 @@ def run_kiwix_build(target, platform, command = ['kiwix-build'] command.append(target) command.append('--hide-progress') + command.append('--fast-clone') if platform == 'flatpak' or platform.startswith('win32_'): command.append('--assume-packages-installed') if target == 'kiwix-lib-app' and platform.startswith('android_'):