Skip to content

Commit

Permalink
reduce git load in travis (esp8266#5490)
Browse files Browse the repository at this point in the history
  • Loading branch information
d-a-v authored Dec 15, 2018
1 parent 79553e5 commit e563cdb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 0 additions & 9 deletions package/build_boards_manager_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e563cdb

Please sign in to comment.