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

reduce git load in travis (#5490)

This commit is contained in:
david gauchard 2018-12-15 10:44:54 +01:00 committed by GitHub
parent 79553e539a
commit e563cdb998
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 9 deletions

View File

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

View File

@ -48,15 +48,6 @@ srcdir=$PWD
rm -rf package/versions/$ver rm -rf package/versions/$ver
mkdir -p $outdir 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 # Some files should be excluded from the package
cat << EOF > exclude.txt cat << EOF > exclude.txt
.git .git