Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: reduce git load #5490

Merged
merged 1 commit into from
Dec 15, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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