From 04c8574adda1899aae3ec78bfe2d7a8e688f1c6d Mon Sep 17 00:00:00 2001
From: gpernot <guillaume.pernot@c-s.fr>
Date: Wed, 5 Feb 2020 14:05:07 +0100
Subject: [PATCH] CI: Fixed debian-build and conda-build 'needs'

---
 .gitlab-ci.yml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index fcca6c0de2..34518835be 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -145,6 +145,8 @@ debian-build:
   after_script:
     - export CI_ALLOW_FAILURE=ON
     - python3 -u CI/cdash_handler.py
+  needs:
+    - job: fast-build
 
 ## Ubuntu superbuild
 ubuntu-xdk-prepare:
@@ -364,7 +366,8 @@ conda-linux-build:
   script:
     - export otb_tag=${CI_COMMIT_TAG:-$CI_COMMIT_SHORT_SHA}
     - ./CI/conda_build.sh
-  dependencies: []
+  needs:
+    - job: fast-build
 
 #---------------------------- Deploy job ---------------------------------------
 deploy:
-- 
GitLab