diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a2862726cf1828cb7ab48b49c9e9f3660203e580..f0e0a3752e8e5100d6692c23f8cdd107981ce92b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -71,6 +71,9 @@ build-testenv:
   stage: setup
   timeout: 2h
   needs: []
+  only:
+    - schedules
+    - web
   script:
     - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
 
@@ -103,8 +106,6 @@ build-testenv:
 # build integration tests
 build-test:
   image: $CPPINTTEST_REGISTRY_IMAGE
-  dependencies:
-    - build-testenv
   tags: [ docker ]
   stage: build
   script: