Commit 82ab8d1b authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Adjusted error code in seg_wrapper to catch make docs error.

parent 07c5d702
Pipeline #541 passed with stage
in 1 minute and 3 seconds
......@@ -8,6 +8,7 @@ test_geomultisens:
- export PYTHONPATH=$PYTHONPATH:/root # /root <- directory needed later
#- pip install nose nose2 nose-htmloutput
- yum install -y gdb
- cp backtrace /root/
- gdb nosetests -ex 'set pagination off' -ex backtrace -ex quit
- bash seg_wrapper.sh make docs
#- make coverage
......
#!/bin/bash
ulimit -c unlimited
"$@"
if [[ $? -eq 139 ]]; then
if [[ $? -eq 2 ]]; then
gdb -q $1 core -x ~/backtrace
fi
FROM centos:7
RUN yum update -y && \
yum install -y wget vim bzip2 gcc gcc-c++ make libgl1-mesa-glx mesa-libGL qt5-qtbase-gui git # TODO
yum install -y wget vim bzip2 gcc gcc-c++ make libgl1-mesa-glx mesa-libGL qt5-qtbase-gui git gdb# TODO
ENV anaconda_dl 'Anaconda3-4.3.1-Linux-x86_64.sh'
RUN /bin/bash -i -c "cd /root; wget https://repo.continuum.io/archive/$anaconda_dl ; \
......@@ -25,7 +25,8 @@ RUN /bin/bash -i -c "source /root/anaconda3/bin/activate ; \
conda install --yes -c conda-forge olefile=0.44 ; \
conda install --yes xerces-c ; \
pip install shapely geopandas dicttoxml jsmin cerberus pyprind pint iso8601 tqdm mpld3 sphinx-argparse \
spectral psycopg2 pyorbital pyinstrument geoalchemy2 py_tools_ds geoarray arosics" # must include all the requirements needed to build the docs!
spectral psycopg2 pyorbital pyinstrument geoalchemy2 py_tools_ds geoarray arosics \
nose nose2 nose-htmloutput coverage" # must include all the requirements needed to build the docs!
# copy some needed stuff to /root
#COPY *.pkl /root/ # EXAMPLE
......
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