diff --git a/matlab/reporting/.gitlab-ci.yml b/matlab/reporting/.gitlab-ci.yml index 1f51a5b17..0bc8db586 100644 --- a/matlab/reporting/.gitlab-ci.yml +++ b/matlab/reporting/.gitlab-ci.yml @@ -1,7 +1,7 @@ before_script: - git clone https://git.dynare.org/Dynare/dseries.git -testsuite_matlab: +test_matlab: stage: test script: - make check-matlab @@ -9,7 +9,17 @@ testsuite_matlab: paths: - test/my/report/dir/report.pdf -testsuite_octave: +test_old_matlab: + stage: test + variables: + MATLAB: /usr/local/MATLAB/R2009b/bin/matlab + script: + - make check-matlab + artifacts: + paths: + - test/my/report/dir/report.pdf + +test_octave: stage: test script: - make check-octave diff --git a/matlab/reporting/Makefile b/matlab/reporting/Makefile index 41ac96e0b..6b5a36689 100644 --- a/matlab/reporting/Makefile +++ b/matlab/reporting/Makefile @@ -1,5 +1,5 @@ -OCTAVE=octave-cli -MATLAB=`which matlab` +OCTAVE ?= octave-cli +MATLAB ?= $(shell which matlab) all: check-octave check-matlab