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

Replaced deprecated 'source activate' by 'conda activate'.


Signed-off-by: Daniel Scheffler's avatarDaniel Scheffler <danschef@gfz-potsdam.de>
parent 94ca14de
......@@ -48,7 +48,7 @@ test_pyrsr_install:
# - conda update -c conda-forge python
- conda create -y -q -c conda-forge --name pyrsr_testinstall python=3
- source activate pyrsr_testinstall
- conda activate pyrsr_testinstall
# resolve some requirements with conda
- conda install --y -q -c conda-forge numpy matplotlib pandas
......@@ -107,7 +107,7 @@ deploy_pypi:
- test_pyrsr
script:
- source /root/miniconda3/bin/activate
- source activate ci_env
- conda activate ci_env
- pip install -U twine
- python setup.py sdist
- twine upload dist/* # requires creds as environment variables
......
......@@ -7,5 +7,5 @@ COPY *.yml /root/
RUN /bin/bash -i -c "\
source /root/miniconda3/bin/activate ; \
conda update -n base -c conda-forge conda;\
source activate ci_env; \
conda activate ci_env; \
conda env update -n ci_env -f /root/environment_pyrsr.yml"
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