mirror of
https://github.com/git/git.git
synced 2026-01-10 01:56:42 +00:00
ci: merge scripts which install dependencies
We have two different scripts which install dependencies, one for dockerized jobs and one for non-dockerized ones. Naturally, these scripts have quite some duplication. Furthermore, either of these scripts is missing some test dependencies that the respective other script has, thus reducing test coverage. Merge those two scripts such that there is a single source of truth for test dependencies, only. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
2c5c7639e5
commit
9cdeb34b96
@@ -12,7 +12,7 @@ test:linux:
|
||||
variables:
|
||||
CUSTOM_PATH: "/custom"
|
||||
before_script:
|
||||
- ./ci/install-docker-dependencies.sh
|
||||
- ./ci/install-dependencies.sh
|
||||
script:
|
||||
- useradd builder --create-home
|
||||
- chown -R builder "${CI_PROJECT_DIR}"
|
||||
@@ -100,7 +100,7 @@ static-analysis:
|
||||
variables:
|
||||
jobname: StaticAnalysis
|
||||
before_script:
|
||||
- ./ci/install-docker-dependencies.sh
|
||||
- ./ci/install-dependencies.sh
|
||||
script:
|
||||
- ./ci/run-static-analysis.sh
|
||||
- ./ci/check-directional-formatting.bash
|
||||
|
||||
Reference in New Issue
Block a user