diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d9b998048ce10497d1f01fea4429c2952bc06d46..42865b38736feb031169e6697d090ef76d95749c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -72,6 +72,8 @@ perl-unit-test-job:   # This job runs in the test stage.
       - "docker"
     script:
       - prove -l t/
+    depends:
+      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.
@@ -80,3 +82,5 @@ perl-quality-test-job:   # This job runs in the test stage.
       - "docker"
     script:
       - prove -l xt/
+    depends:
+      build-env-job
diff --git a/gitlab-ci/Dockerfile b/gitlab-ci/Dockerfile
index 3af70021ed4170bdac213bd3f3470bfd1b798e82..8c51e3f9e621544980110ed409e58e69a16afa48 100644
--- a/gitlab-ci/Dockerfile
+++ b/gitlab-ci/Dockerfile
@@ -45,6 +45,7 @@ RUN apt-get update; \
       libregexp-optimizer-perl \
       libsoap-lite-perl \
       libsys-cpu-perl \
+      libtext-csv-perl \
       libtext-csv-xs-perl \
       && rm -rf /var/lib/apt/lists/* \
     ;