From 2f21590e552e0ebcbb0b50857bcf09c9fd86b99d Mon Sep 17 00:00:00 2001 From: Links Date: Wed, 6 Jan 2021 09:18:27 +0100 Subject: [PATCH] no need for a full clone --- travis/common.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/travis/common.sh b/travis/common.sh index 364000e..0f0ec67 100644 --- a/travis/common.sh +++ b/travis/common.sh @@ -97,7 +97,7 @@ function get_core() if [ "$1" = "esp8266" ] ; then mkdir esp8266com cd esp8266com - git clone https://github.com/esp8266/Arduino.git esp8266 + git clone --depth 1 https://github.com/esp8266/Arduino.git esp8266 cd esp8266/ rm -rf .git cd tools @@ -107,7 +107,7 @@ function get_core() if [ "$1" = "esp32" ] ; then mkdir espressif cd espressif - git clone https://github.com/espressif/arduino-esp32.git esp32 + git clone --depth 1 https://github.com/espressif/arduino-esp32.git esp32 cd esp32/ rm -rf .git cd tools