Dear maiki,
I finally got it working by adding a before_script section to .gitlab-ci.yml as you suggested, like this:
- git submodule init
- git submodule update --force
(as found on this page: https://gitlab.com/kaushalmodi/kaushalmodi.gitlab.io/blob/master/.gitlab-ci.yml)
thanks again for your precious help!
fabio