From bdc9794d0e98c573670240c4925453ea9d98b686 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Mon, 29 Oct 2018 11:28:11 +0100
Subject: [PATCH] Use extends keyword (introduced in Gitlab 11.3) to simplify
 .gitlab-ci.yml

---
 .gitlab-ci.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d7045ecca9..8a1a913529 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -52,7 +52,7 @@ testsuite_matlab:
   dependencies:
     - build_binaries
 
-.testsuite_octave_template: &testsuite_octave_definition
+.testsuite_octave_template:
   stage: test
   variables:
     OPENBLAS_NUM_THREADS: 1
@@ -74,13 +74,13 @@ testsuite_matlab:
     - build_binaries
 
 testsuite_octave_auto:
-  <<: *testsuite_octave_definition
+  extends: .testsuite_octave_template
   only:
     - tags
     - schedules
 
 testsuite_octave_manual:
-  <<: *testsuite_octave_definition
+  extends: .testsuite_octave_template
   except:
     - tags
     - schedules
-- 
GitLab