mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-25 20:02:37 +03:00
reduce git load in travis (#5490)
This commit is contained in:
parent
79553e539a
commit
e563cdb998
@ -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