Commit adb3c885 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Revised .gitlab-ci.yml

Former-commit-id: f5de8e01
Former-commit-id: 20f3334b
parent 6c96f64d
before_script:
- git lfs pull
# update sicor
- source /root/anaconda3/bin/activate
- export GDAL_DATA=/root/anaconda3/share/gdal
- export PYTHONPATH=$PYTHONPATH:/root # /root <- directory needed later
- conda install -y -q -c conda-forge basemap
- rm -rf context/sicor
- git clone https://gitext.gfz-potsdam.de/EnMAP/sicor.git ./context/sicor
- cd ./context/sicor
- python setup.py install
- cd ../../
stages:
......@@ -20,9 +10,17 @@ stages:
test_gms_preprocessing:
stage: test
script:
# update sicor
- source /root/anaconda3/bin/activate
- export GDAL_DATA=/root/anaconda3/share/gdal
- export PYTHONPATH=$PYTHONPATH:/root # /root <- directory needed later
- conda install -y -q -c conda-forge basemap
- rm -rf context/sicor
- git clone https://gitext.gfz-potsdam.de/EnMAP/sicor.git ./context/sicor
- cd ./context/sicor
- python setup.py install
- cd ../../
# make tests
- pip install rednose # TODO remove as soon as docker container is rebuilt
- make nosetests
- make docs
......
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