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: before_script:
- git lfs pull - 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: stages:
...@@ -20,9 +10,17 @@ stages: ...@@ -20,9 +10,17 @@ stages:
test_gms_preprocessing: test_gms_preprocessing:
stage: test stage: test
script: script:
# update sicor
- source /root/anaconda3/bin/activate - source /root/anaconda3/bin/activate
- export GDAL_DATA=/root/anaconda3/share/gdal - export GDAL_DATA=/root/anaconda3/share/gdal
- export PYTHONPATH=$PYTHONPATH:/root # /root <- directory needed later - 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 - pip install rednose # TODO remove as soon as docker container is rebuilt
- make nosetests - make nosetests
- make docs - 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