@@ -5,33 +5,42 @@ machine:
5
5
dependencies :
6
6
cache_directories :
7
7
- " ~/docker"
8
+ - " ~/examples"
8
9
9
10
pre :
10
11
- mkdir -p "~/scratch/nose"
11
12
12
13
override :
13
14
- if [[ -e ~/docker/image.tar ]]; then docker load -i ~/docker/image.tar; fi
14
- - docker build -t nipype/testbench:latest . :
15
+ - docker build -f docker/nipype_test_py27/Dockerfile - t nipype/nipype_test:py27 . :
15
16
timeout : 1600
16
- - mkdir -p ~/docker; docker save nipype/testbench:latest > ~/docker/image.tar :
17
+ - mkdir -p ~/docker; docker save nipype/nipype_test:py27 > ~/docker/image.tar :
17
18
timeout : 1600
19
+ - if [[ ! -d ~/examples/data ]]; then \
20
+ wget -O nipype-tutorial.tar.bz2 https://googledrive.com/host/0BxI12kyv2olZR05SU1lPampNcVE && \
21
+ tar jxvf nipype-tutorial.tar.bz2 && \
22
+ mv nipype-tutorial/* ~/examples/; fi
23
+ - if [[ ! -d ~/examples/feeds ]]; then \
24
+ wget -O fsl-feeds.tar.gz https://googledrive.com/host/0BxI12kyv2olZNXBONlJKV0Y1Tm8 && \
25
+ tar xzf fsl-feeds.tar.gz && \
26
+ mv feeds ~/examples/; fi
18
27
19
28
test :
20
29
override :
21
- - docker run -i -v /etc/localtime:/etc/localtime:ro -v ~/scratch:/scratch -w /scratch --entrypoint="/ usr/bin/run_builddocs.sh" nipype/testbench
22
- - docker run -i -v /etc/localtime:/etc/localtime:ro -v ~/scratch:/scratch -w /scratch nipype/testbench test_spm Linear /root/examples/ workflow3d :
30
+ - docker run -i -v /etc/localtime:/etc/localtime:ro -v ~/examples:/root/examples:ro -v $(pwd)/ scratch:/scratch -w /scratch nipype/nipype_test:py27 / usr/bin/run_builddocs.sh
31
+ - docker run -i -v /etc/localtime:/etc/localtime:ro -v ~/examples:/root/examples:ro -v $(pwd)/ scratch:/scratch -w /scratch nipype/nipype_test:py27 /usr/bin/run_examples.sh test_spm Linear /root/examples/ workflow3d :
23
32
timeout : 1600
24
- - docker run -i -v /etc/localtime:/etc/localtime:ro -v ~/scratch:/scratch -w /scratch nipype/testbench test_spm Linear /root/examples/ workflow4d :
33
+ - docker run -i -v /etc/localtime:/etc/localtime:ro -v ~/examples:/root/examples:ro -v $(pwd)/ scratch:/scratch -w /scratch nipype/nipype_test:py27 /usr/bin/run_examples.sh test_spm Linear /root/examples/ workflow4d :
25
34
timeout : 1600
26
- - docker run -i -v /etc/localtime:/etc/localtime:ro -v ~/scratch:/scratch -w /scratch nipype/testbench fmri_fsl_feeds Linear /root/examples/ l1pipeline
27
- - docker run -i -v /etc/localtime:/etc/localtime:ro -v ~/scratch:/scratch -w /scratch nipype/testbench fmri_spm_dartel Linear /root/examples/ level1 :
35
+ - docker run -i -v /etc/localtime:/etc/localtime:ro -v ~/examples:/root/examples:ro -v $(pwd)/ scratch:/scratch -w /scratch nipype/nipype_test:py27 /usr/bin/run_examples.sh fmri_fsl_feeds Linear /root/examples/ l1pipeline
36
+ - docker run -i -v /etc/localtime:/etc/localtime:ro -v ~/examples:/root/examples:ro -v $(pwd)/ scratch:/scratch -w /scratch nipype/nipype_test:py27 /usr/bin/run_examples.sh fmri_spm_dartel Linear /root/examples/ level1 :
28
37
timeout : 1600
29
- - docker run -i -v /etc/localtime:/etc/localtime:ro -v ~/scratch:/scratch -w /scratch nipype/testbench fmri_spm_dartel Linear /root/examples/ l2pipeline :
38
+ - docker run -i -v /etc/localtime:/etc/localtime:ro -v ~/examples:/root/examples:ro -v $(pwd)/ scratch:/scratch -w /scratch nipype/nipype_test:py27 /usr/bin/run_examples.sh fmri_spm_dartel Linear /root/examples/ l2pipeline :
30
39
timeout : 1600
31
- - docker run -i -v /etc/localtime:/etc/localtime:ro -v ~/scratch:/scratch -w /scratch nipype/testbench fmri_fsl_reuse Linear /root/examples/ level1_workflow
32
- - docker run -i -v /etc/localtime:/etc/localtime:ro -v ~/scratch:/scratch -w /scratch nipype/testbench fmri_spm_nested Linear /root/examples/ level1
33
- - docker run -i -v /etc/localtime:/etc/localtime:ro -v ~/scratch:/scratch -w /scratch nipype/testbench fmri_spm_nested Linear /root/examples/ l2pipeline
34
- - docker run -i -v /etc/localtime:/etc/localtime:ro -v ~/scratch:/scratch -w /scratch --entrypoint="/ usr/bin/run_nosetests.sh" nipype/testbench :
40
+ - docker run -i -v /etc/localtime:/etc/localtime:ro -v ~/examples:/root/examples:ro -v $(pwd)/ scratch:/scratch -w /scratch nipype/nipype_test:py27 /usr/bin/run_examples.sh fmri_fsl_reuse Linear /root/examples/ level1_workflow
41
+ - docker run -i -v /etc/localtime:/etc/localtime:ro -v ~/examples:/root/examples:ro -v $(pwd)/ scratch:/scratch -w /scratch nipype/nipype_test:py27 /usr/bin/run_examples.sh fmri_spm_nested Linear /root/examples/ level1
42
+ - docker run -i -v /etc/localtime:/etc/localtime:ro -v ~/examples:/root/examples:ro -v $(pwd)/ scratch:/scratch -w /scratch nipype/nipype_test:py27 /usr/bin/run_examples.sh fmri_spm_nested Linear /root/examples/ l2pipeline
43
+ - docker run -i -v /etc/localtime:/etc/localtime:ro -v ~/examples:/root/examples:ro -v $(pwd)/ scratch:/scratch -w /scratch nipype/nipype_test:py27 / usr/bin/run_nosetests.sh :
35
44
timeout : 2600
36
45
post :
37
46
- bash docker/circleci/teardown.sh
0 commit comments