Commit 879993e6 by Mauricio Diaz

[ci] edit CI script fixing conda environment for each job

parent 30ecbaab
Pipeline #794 failed with stages
in 1 minute 36 seconds
......@@ -2,6 +2,7 @@
# Clinica - ARAMIS
#
stages:
- build
- install
- test
- deploy
......@@ -14,11 +15,24 @@ stages:
before_script:
- pwd
- conda env create -f environment.yml
after_script:
- conda env remove -y --name clinica_env
# - conda env remove -y --name clinica_env
install_mac:
build:mac:
stage: build
tags:
- macOS
script:
- conda env create --force --file environment.yml
build:linux:
stage: build
tags:
- linux
script:
- conda env create --force --file environment.yml
install:mac:
# Install python dependencies for Clinica
stage: install
tags:
......@@ -32,7 +46,7 @@ install_mac:
- source deactivate
install_linux:
install:linux:
# Install python dependencies for Clinica
stage: install
tags:
......@@ -45,10 +59,10 @@ install_linux:
- clinica --help
- source deactivate
test_spm_full_prep_mac:
test_spm_full_prep:linux:
stage: test
tags:
- macOS
- linux
script:
- source activate clinica_env
- clinica --help
......
Markdown is supported
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