In the definitions folder add the environment to the install_[PIPELINE]_parameters.yaml.
- Add the environment name and define it
# [ENV_NAME] environment spec
e[ENV_NAME]:
conda:
[PROGRAM_NAME]: [PROGRAM_VERSION]=[PROGRAM_VERSION_SUB_PATCH]
pip:
python: 3.6
pip:
shell:
- Add the environment name to the
environment_name
hash
environment_name:
e[ENV_NAME]
- Add the environment name to the
installations
array
installations:
- e[ENV_NAME]
In lib/MIP/Cli/Mip/Install/[PIPELINE]
:
-
Add the new environment to the option
environment_name
under theisa
key -
Add the new environment to the option
installations
under theisa
key
- Add the environment to the
load_env
option:
In templates/mip_[PIPELINE]_config.yaml
:
load_env:
mip_travis_[ENV_NAME]:
[RECIPE|PROGRAM]:
installation: e[ENV_NAME]
method: [ENV_METHOD] # e.g conda
- Add the executables of your environment to the test envs:
In t/data/modules/miniconda/envs/
:
$ mkdir -p mip_travis_[ENV_NAME]
$ touch bin/[PROGRAM_EXECUTABLE]
$ chmod a+x bin/[PROGRAM_EXECUTABLE]