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
manifest-rules
Commits
e710756a
Commit
e710756a
authored
Sep 17, 2021
by
Paul McCarthy
🚵
Browse files
RF: Use source activate if possible
parent
842d7b77
Changes
1
Hide whitespace changes
Inline
Side-by-side
manifest-gitlab-ci.yml
View file @
e710756a
...
...
@@ -16,8 +16,10 @@ default:
mkdir ./conda-dir;
export CONDA_ENVS_DIRS=$(pwd)/conda-dir/;
export CONDA_PKGS_DIRS=$(pwd)/conda-dir/.pkgs;
export CONDABINDIR=$(dirname $(which conda))
conda create -c conda-forge -p ./env python=3.9;
conda activate ./env;
if [ -f "$CONDABINDIR"/activate ]; then source $CONDABINDIR/activate ./env;
else conda activate ./env; fi
python -m pip install git+https://git.fmrib.ox.ac.uk/fsl/fsl-ci-rules.git;
python -m pip install git+https://git.fmrib.ox.ac.uk/fsl/conda/manifest-rules.git;
...
...
Write
Preview
Markdown
is supported
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