Commit 19ca0757 authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

RF: USe conda activate, not source activate

parent 21b6ef67
......@@ -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
......
Supports Markdown
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