Skip to content

Commit 8c4975e

Browse files
committed
CI: update git configuration
- git: clone with depth=1 - git: no recursive submodule no more dependency on savannah.nongnu.org nor bearssl.org
1 parent 20f07ec commit 8c4975e

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

.travis.yml

Lines changed: 7 additions & 0 deletions
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

package/build_boards_manager_package.sh

Lines changed: 0 additions & 9 deletions
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)