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

Added style libs to docker container setup. Updated .gitlab_ci.yml.

parent 3a4c9d41
Pipeline #1174 passed with stages
in 7 minutes and 58 seconds
...@@ -38,6 +38,7 @@ test_styles: ...@@ -38,6 +38,7 @@ test_styles:
- 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
- pip install flake8 pycodestyle pylint pydocstyle # TODO remove as soon as docker container is rebuilt
- make lint - make lint
artifacts: artifacts:
paths: paths:
......
...@@ -14,7 +14,7 @@ RUN /bin/bash -i -c "source /root/anaconda3/bin/activate ; \ ...@@ -14,7 +14,7 @@ RUN /bin/bash -i -c "source /root/anaconda3/bin/activate ; \
conda install --yes -c conda-forge numpy gdal scikit-image matplotlib rasterio pyproj basemap shapely; \ conda install --yes -c conda-forge numpy gdal scikit-image matplotlib rasterio pyproj basemap shapely; \
conda install --yes -c conda-forge 'icu=58.*' lxml ; \ conda install --yes -c conda-forge 'icu=58.*' lxml ; \
pip install geopandas pandas dicttoxml jsmin cerberus pyprind pint iso8601 tqdm mpld3 sphinx-argparse \ pip install geopandas pandas dicttoxml jsmin cerberus pyprind pint iso8601 tqdm mpld3 sphinx-argparse \
folium geojson py_tools_ds nose nose2 nose-htmloutput coverage rednose" folium geojson py_tools_ds flake8 pycodestyle pylint pydocstyle nose nose2 nose-htmloutput coverage rednose"
# copy some needed stuff to /root # copy some needed stuff to /root
#COPY *.pkl /root/ # EXAMPLE #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