forked from neurospin/pypreprocess
-
Notifications
You must be signed in to change notification settings - Fork 2
/
circle.yml
42 lines (37 loc) · 1.46 KB
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
machine:
environment:
SPM_DIR: /home/ubuntu/opt/spm8/spm8_mcr/spm8
SPM_MCR: /home/ubuntu/opt/spm8/spm8.sh
dependencies:
cache_directories:
- "~/opt/spm8"
- "~/nilearn_data"
pre:
# Installing dependencies for SPM and MCR
- sudo apt-get update
- sudo apt-get install libxp6 libxpm4 libxmu6 libxt6 bc
# Installing SPM
- source continuous_integration/setup_spm.sh
# Installing Pypreprocess dependencies
- pip install --upgrade pip
- pip install scipy sklearn nibabel configobj nose coverage
- pip install matplotlib pandas nipype nilearn
override:
# Installing pypreprocess
- pip install -e .
# Fetching Auditory and Multimodal datasets in order to be cached in the future
- python -c "from pypreprocess import datasets; datasets.fetch_spm_auditory(); datasets.fetch_spm_multimodal_fmri(); datasets.fetch_fsl_feeds()"
# Caching terminates here. Outputs from test won't be saved.
test:
override:
- make clean
- make test-code
- cd examples/easy_start && python nipype_preproc_spm_auditory.py
- cd examples/pipelining && python nipype_preproc_spm_multimodal_faces.py
- cd examples/pipelining && python nistats_glm_fsl_feeds_fmri.py
- sh continuous_integration/clean_output.sh
general:
artifacts:
- "/home/ubuntu/nilearn_data/spm_auditory/pypreprocess_output/"
- "~/nilearn_data/spm_multimodal_fmri/pypreprocess_output/"
- "~/nilearn_data/fsl_feeds/pypreprocess_output/"