CI: add artifacts for testsuite

Unfortunately the globstar (**) syntax does not seem to be available, so use
one-depth standard globs.

Also set TERM=linux.
time-shift
Sébastien Villemot 2018-09-13 16:50:39 +02:00
parent a4c46a8121
commit 5e85bf3376
1 changed files with 15 additions and 0 deletions

View File

@ -1,5 +1,6 @@
variables:
GIT_SUBMODULE_STRATEGY: normal
TERM: linux
build_binaries:
stage: build
@ -32,6 +33,13 @@ testsuite_matlab:
- autoreconf -si
- './configure --disable-octave --with-matlab=$(dirname $(dirname $(readlink -f `which matlab`))) MATLAB_VERSION=$(echo version | matlab -nodesktop -nodisplay -nosplash 2>/dev/null | sed -En "/ans\ =/!d;n;n;s/^[^0-9]*([0-9]+\.[0-9]+).*$/\1/;p")'
- make -j $(($(nproc) / 2)) -C tests check-matlab
- cat tests/run_test_matlab_output.txt
artifacts:
paths:
- tests/*.m.log
- tests/*.m.trs
- tests/*/*.m.log
- tests/*/*.m.trs
dependencies:
- build_binaries
@ -43,6 +51,13 @@ testsuite_octave:
- autoreconf -si
- ./configure --disable-matlab
- make -j $(nproc) -C tests check-octave
- cat tests/run_test_octave_output.txt
artifacts:
paths:
- tests/*.o.log
- tests/*.o.trs
- tests/*/*.o.log
- tests/*/*.o.trs
dependencies:
- build_binaries
only: