use --init instead of git submodule init

Former-commit-id: e5582ddf313a6bdd2ae0cb68da980954caf83e1b
This commit is contained in:
malavan 2021-08-19 17:45:37 +00:00
parent 76ce7ae47a
commit 9192272cd8

View File

@ -12,7 +12,7 @@ build:
- docker
stage: build
script:
- git submodule init && git submodule update
- git submodule update --remote --init
- make distclean
- make -j
artifacts:
@ -113,7 +113,7 @@ endurance-test:
- docker
stage: test
script:
- git submodule init && git submodule update
- git submodule update --remote --init
- make distclean
- make -j
- ./runtest --config server-threads 3 --loop --stop
@ -125,7 +125,7 @@ coverage-test:
- docker
stage: test
script:
- git submodule init && git submodule update
- git submodule update --remote --init
- make distclean
- make gcov -j
- make install