From d16dd866ecab231d918cf113ce276403d8e57443 Mon Sep 17 00:00:00 2001
From: Antoine Regimbeau <antoine.regimbeau@c-s.fr>
Date: Mon, 29 Apr 2019 11:30:31 +0200
Subject: [PATCH] Original yaml

---
 .gitlab-ci.yml | 30 ++++++++++++++----------------
 1 file changed, 14 insertions(+), 16 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3b7051a602..f0de6bfcd8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -41,18 +41,18 @@ stages:
       - runner_system_failure
       - stuck_or_timeout_failure
 
-# fast-build:
-#   extends: .general
-#   only: [merge_requests, branches]
-#   stage: precheck
-#   image: $BUILD_IMAGE_REGISTRY/otb-ubuntu-native-develop:latest
-#   before_script:
-#     - export GIT_LFS_SKIP_SMUDGE=1
-#     - git checkout $CI_COMMIT_REF_NAME
-#     - python3 CI/check_twin_pipelines.py
-#   script:
-#     - ctest -V -S CI/main_ci.cmake -DIMAGE_NAME:string=ubuntu-18.04-fast
-#     - ccache -s
+fast-build:
+  extends: .general
+  only: [merge_requests, branches]
+  stage: precheck
+  image: $BUILD_IMAGE_REGISTRY/otb-ubuntu-native-develop:latest
+  before_script:
+    - export GIT_LFS_SKIP_SMUDGE=1
+    - git checkout $CI_COMMIT_REF_NAME
+    - python3 CI/check_twin_pipelines.py
+  script:
+    - ctest -V -S CI/main_ci.cmake -DIMAGE_NAME:string=ubuntu-18.04-fast
+    - ccache -s
 
 .common-build:
   extends: .general
@@ -104,11 +104,10 @@ ubuntu-llvm:
       - sb_branch.txt
 
 ubuntu-superbuild-prepare:
-  only: [branches]
   extends: .common-prepare
   image: $BUILD_IMAGE_REGISTRY/otb-ubuntu-superbuild-base:18.04
   script:
-    - ctest -VV -S CI/prepare_superbuild.cmake -DIMAGE_NAME:string=otb-ubuntu-superbuild-base
+    - ctest -V -S CI/prepare_superbuild.cmake -DIMAGE_NAME:string=otb-ubuntu-superbuild-base
 
 centos-superbuild-prepare:
   extends: .common-prepare
@@ -117,11 +116,10 @@ centos-superbuild-prepare:
     - ctest -V -S CI/prepare_superbuild.cmake -DIMAGE_NAME:string=otb-centos-superbuild-base
 
 ubuntu-superbuild-build:
-  only: [branches]
   extends: .common-build
   image: $BUILD_IMAGE_REGISTRY/otb-ubuntu-superbuild-base:18.04
   script:
-    - xvfb-run -a -n 1 -s "-screen 0 1024x768x24 -dpi 96" ctest -VV -S CI/main_superbuild.cmake -DIMAGE_NAME:string=otb-ubuntu-superbuild-base
+    - xvfb-run -a -n 1 -s "-screen 0 1024x768x24 -dpi 96" ctest -V -S CI/main_superbuild.cmake -DIMAGE_NAME:string=otb-ubuntu-superbuild-base
   dependencies:
     - ubuntu-superbuild-prepare
 
-- 
GitLab