Skip to content

Commit e563cdb

Browse files
authored
reduce git load in travis (#5490)
1 parent 79553e5 commit e563cdb

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

Diff for: .travis.yml

+7
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@ language: bash
22
os: linux
33
dist: trusty
44

5+
git:
6+
depth: 1
7+
submodules: false
8+
9+
before_install:
10+
- git submodule update --init # no recursive update
11+
512
cache:
613
directories:
714
- $HOME/astyle

Diff for: package/build_boards_manager_package.sh

-9
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,6 @@ srcdir=$PWD
4848
rm -rf package/versions/$ver
4949
mkdir -p $outdir
5050

51-
# Get submodules
52-
modules=libraries/SoftwareSerial
53-
for mod in $modules; do
54-
echo "refreshing submodule: $mod"
55-
git submodule update --init -- $mod
56-
(cd $mod && git reset --hard)
57-
done
58-
echo "done with submodules"
59-
6051
# Some files should be excluded from the package
6152
cat << EOF > exclude.txt
6253
.git

0 commit comments

Comments
 (0)