diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 42865b38736feb031169e6697d090ef76d95749c..223fc1d2b2ecc7b7d2c06c6725a7647037ac712a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -72,8 +72,8 @@ perl-unit-test-job:   # This job runs in the test stage.
       - "docker"
     script:
       - prove -l t/
-    depends:
-      build-env-job
+    dependencies:
+      - build-env-job
 
 perl-quality-test-job:   # This job runs in the test stage.
     stage: pretest    # It only starts when the job in the build stage completes successfully.
@@ -82,5 +82,5 @@ perl-quality-test-job:   # This job runs in the test stage.
       - "docker"
     script:
       - prove -l xt/
-    depends:
-      build-env-job
+    dependencies:
+      - build-env-job