check_submodules: fetch in parallel on CI

This commit is contained in:
Matthias Grob 2019-04-07 15:55:54 +02:00
parent d2a23c8512
commit e94580711b
1 changed files with 2 additions and 2 deletions

View File

@ -8,8 +8,8 @@ if [[ -f $1"/.git" || -d $1"/.git" ]]; then
# CI environment always update
if [ "$CI" == "true" ]; then
git submodule --quiet sync --recursive -- $1
git submodule --quiet update --init --recursive -- $1 || true
git submodule --quiet update --init --recursive -- $1
git submodule --quiet update --init --recursive --jobs=8 -- $1 || true
git submodule --quiet update --init --recursive --jobs=8 -- $1
exit 0
fi