Use extends keyword (introduced in Gitlab 11.3) to simplify .gitlab-ci.yml

(cherry picked from commit bdc9794d)
parent 08f0a9e7
Pipeline #255 passed with stages
in 73 minutes and 53 seconds
......@@ -47,7 +47,7 @@ testsuite_matlab:
dependencies:
- build_binaries
.testsuite_octave_template: &testsuite_octave_definition
.testsuite_octave_template:
stage: test
variables:
OPENBLAS_NUM_THREADS: 1
......@@ -69,13 +69,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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment