1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-19 23:22:16 +03:00

CI: update git configuration

- git: clone with depth=1
- git: no recursive submodule
  no more dependency on savannah.nongnu.org nor bearssl.org
This commit is contained in:
david gauchard 2018-12-12 22:31:03 +01:00
parent 20f07ecc31
commit 8c4975eae7
2 changed files with 7 additions and 9 deletions

View File

@ -2,6 +2,13 @@ language: bash
os: linux
dist: trusty
git:
depth: 1
submodules: false
before_install:
- git submodule update --init # no recursive update
cache:
directories:
- $HOME/astyle

View File

@ -48,15 +48,6 @@ srcdir=$PWD
rm -rf package/versions/$ver
mkdir -p $outdir
# Get submodules
modules=libraries/SoftwareSerial
for mod in $modules; do
echo "refreshing submodule: $mod"
git submodule update --init -- $mod
(cd $mod && git reset --hard)
done
echo "done with submodules"
# Some files should be excluded from the package
cat << EOF > exclude.txt
.git