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
FSL
conda
fsl-ci-rules
Commits
9e670244
Commit
9e670244
authored
Sep 17, 2021
by
Paul McCarthy
🚵
Browse files
RF: Use source activate if possible
parent
5d3ad2b0
Changes
2
Hide whitespace changes
Inline
Side-by-side
fsl_ci/__init__.py
View file @
9e670244
...
...
@@ -19,7 +19,7 @@ import subprocess as sp
import
yaml
__version__
=
'0.16.
1
'
__version__
=
'0.16.
2
'
"""Current version of the fsl-ci-rules."""
...
...
rules/fsl-ci-job-template.yml
View file @
9e670244
...
...
@@ -73,7 +73,8 @@
-
if [ "$DOCKER" == "0" ]; then
CONDADIR=$(dirname $(which conda))
conda create -y -p ${FSL_CI_CONFIG_DIR}/env -c conda-forge python=3.9 conda-build;
conda activate ${FSL_CI_CONFIG_DIR}/env;
if [ -f "${CONDADIR}"/activate ]; then source ${CONDADIR}/activate ${FSL_CI_CONFIG_DIR}/env;
else conda activate ${FSL_CI_CONFIG_DIR}/env; fi
fi
-
if [ "$CI_PROJECT_PATH" == "fsl/fsl-ci-rules" ]; then
python -m pip install .;
...
...
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