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
19ca0757
Commit
19ca0757
authored
Sep 17, 2021
by
Paul McCarthy
🚵
Browse files
RF: USe conda activate, not source activate
parent
21b6ef67
Changes
1
Hide whitespace changes
Inline
Side-by-side
manifest-gitlab-ci.yml
View file @
19ca0757
...
...
@@ -8,14 +8,18 @@
# The CI configuration and scripts used to generate
# and test files are contained in the
# fsl/conda/manifest-rules project. All jobs are
# executed in an environment
in which
conda is
# available.
#
assumed to be
executed in an environment in which
#
conda is
available.
default
:
before_script
:
-
conda create -c conda-forge -p ./env python=3.9
-
source activate ./env
-
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
-
|
mkdir ./conda-dir;
export CONDA_ENVS_DIRS=$(pwd)/conda-dir/;
export CONDA_PKGS_DIRS=$(pwd)/conda-dir/.pkgs;
conda create -c conda-forge -p ./env python=3.9;
conda activate ./env;
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;
# Don't run pipeline on MRs
...
...
@@ -262,7 +266,6 @@ test-manifest:macos-64:
stage
:
publish
image
:
continuumio/miniconda3
tags
:
-
fsl-ci
-
fslconda-channel-host
when
:
manual
...
...
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