This is only applicable if MOODLE_REPO env var is defined and custom repo contains submodules. We do not have the means of intialising submodules, so the patch is removing empty dirs, so that the Moodle installation will not fail. If plugin depends on another one, you can add dependency using moodle-plugin-ci add-plugin statement in .travis.yml instead (see Adding extra plugins manual for more details).
This is only applicable if MOODLE_REPO env var is defined and custom repo contains submodules. We do not have the means of intialising submodules, so the patch is removing empty dirs, so that the Moodle installation will not fail. If plugin depends on another one, you can add dependency using
moodle-plugin-ci add-plugin
statement in.travis.yml
instead (see Adding extra plugins manual for more details).