Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
geomultisens
pyrsr
Commits
afe1ae62
Commit
afe1ae62
authored
Nov 10, 2020
by
Daniel Scheffler
Browse files
Replaced deprecated 'source activate' by 'conda activate'.
Signed-off-by:
Daniel Scheffler
<
danschef@gfz-potsdam.de
>
parent
94ca14de
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
afe1ae62
...
...
@@ -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
...
...
tests/CI_docker/context/pyrsr_ci.docker
View file @
afe1ae62
...
...
@@ -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"
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment