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:
parent
20f07ecc31
commit
8c4975eae7
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user