Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sébastien Villemot
dseries
Commits
4553e86c
Commit
4553e86c
authored
Sep 14, 2018
by
Stéphane Adjemian
Browse files
Tentative fixes for gitlab-ci.
parent
7de97ad5
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
4553e86c
...
@@ -2,9 +2,16 @@ variables:
...
@@ -2,9 +2,16 @@ variables:
GIT_SUBMODULE_STRATEGY
:
normal
GIT_SUBMODULE_STRATEGY
:
normal
TERM
:
linux
TERM
:
linux
before_script
:
-
git clone https://git.dynare.org/Dynare/dates
-
git clone https://git.dynare.org/Dynare/m-unit-tests
-
wget http://www.dynare.org/x13/x13.zip
-
unzip x13.zip
testsuite_matlab
:
testsuite_matlab
:
stage
:
test
stage
:
test
script
:
script
:
-
cp -r binaries/linux externals/x13
-
make check-matlab
-
make check-matlab
-
./success.sh
-
./success.sh
...
@@ -13,6 +20,7 @@ testsuite_octave:
...
@@ -13,6 +20,7 @@ testsuite_octave:
variables
:
variables
:
OPENBLAS_NUM_THREADS
:
1
OPENBLAS_NUM_THREADS
:
1
script
:
script
:
-
cp -r binaries/linux externals/x13
-
make check-octave
-
make check-octave
-
./success.sh
-
./success.sh
allow_failure
:
true
allow_failure
:
true
Makefile
View file @
4553e86c
...
@@ -5,10 +5,10 @@ all: check-octave check-matlab
...
@@ -5,10 +5,10 @@ all: check-octave check-matlab
check-octave
:
check-octave
:
@
cd
tests
;
\
@
cd
tests
;
\
$(OCTAVE)
--no-init-file
--silent
--no-history
--eval
"runalltests
(true)
"
$(OCTAVE)
--no-init-file
--silent
--no-history
--eval
"
addpath ../m-unit-tests/src; addpath ../dates/src;
runalltests"
check-matlab
:
check-matlab
:
@
$(MATLAB)
-nosplash
-nodisplay
-r
"cd tests; runalltests; quit"
@
$(MATLAB)
-nosplash
-nodisplay
-r
"
addpath m-unit-tests/src; addpath dates/src;
cd tests; runalltests; quit"
check-clean
:
check-clean
:
rm
-f
tests/
*
_test_
*
.m tests/
*
.csv tests/
*
.xls tests/
*
.xlsx tests/
*
.mat tests/failed tests/datafile_for_test
rm
-f
tests/
*
_test_
*
.m tests/
*
.csv tests/
*
.xls tests/
*
.xlsx tests/
*
.mat tests/failed tests/datafile_for_test
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment