File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -22,22 +22,30 @@ case ${CIRCLE_NODE_INDEX} in
22
22
docker run --rm=false -it -v $WORKDIR :/work -w /src/nipype/doc nipype/nipype:py35 /usr/bin/run_builddocs.sh && \
23
23
docker run --rm=false -it -v $HOME /examples:/data/examples:ro -v $WORKDIR :/work -w /work nipype/nipype:py35 /usr/bin/run_examples.sh test_spm Linear /data/examples/ workflow3d && \
24
24
docker run --rm=false -it -v $HOME /examples:/data/examples:ro -v $WORKDIR :/work -w /work nipype/nipype:py35 /usr/bin/run_examples.sh test_spm Linear /data/examples/ workflow4d
25
+ exitcode=$?
25
26
;;
26
27
1)
27
28
docker run --rm=false -it -v $HOME /examples:/data/examples:ro -v $WORKDIR :/work -w /work nipype/nipype:py35 /usr/bin/run_examples.sh fmri_spm_dartel Linear /data/examples/ level1 && \
28
29
docker run --rm=false -it -v $HOME /examples:/data/examples:ro -v $WORKDIR :/work -w /work nipype/nipype:py35 /usr/bin/run_examples.sh fmri_spm_dartel Linear /data/examples/ l2pipeline
30
+ exitcode=$?
29
31
;;
30
32
2)
31
33
docker run --rm=false -it -e NIPYPE_NUMBER_OF_CPUS=4 -v $HOME /examples:/data/examples:ro -v $WORKDIR :/work -w /work nipype/nipype:py27 /usr/bin/run_examples.sh fmri_spm_nested MultiProc /data/examples/ level1 && \
32
34
docker run --rm=false -it -e NIPYPE_NUMBER_OF_CPUS=4 -v $HOME /examples:/data/examples:ro -v $WORKDIR :/work -w /work nipype/nipype:py35 /usr/bin/run_examples.sh fmri_spm_nested MultiProc /data/examples/ l2pipeline
35
+ exitcode=$?
33
36
;;
34
37
3)
35
38
docker run --rm=false -it -e NIPYPE_NUMBER_OF_CPUS=4 -v $HOME /examples:/data/examples:ro -v $WORKDIR :/work -w /work nipype/nipype:py35 /usr/bin/run_examples.sh fmri_spm_nested MultiProc /data/examples/ level1 && \
36
39
docker run --rm=false -it -v $HOME /examples:/data/examples:ro -v $WORKDIR :/work -w /work nipype/nipype:py35 /usr/bin/run_examples.sh fmri_fsl_feeds Linear /data/examples/ l1pipeline && \
37
40
docker run --rm=false -it -v $HOME /examples:/data/examples:ro -v $WORKDIR :/work -w /work nipype/nipype:py35 /usr/bin/run_examples.sh fmri_fsl_reuse Linear /data/examples/ level1_workflow
41
+ exitcode=$?
38
42
;;
39
43
esac
40
44
41
45
cp ${WORKDIR} /tests/* .xml ${CIRCLE_TEST_REPORTS} /tests/
46
+
47
+ # Exit with error if any of the tests failed
48
+ if [ " $exitcode " != " 0" ]; then exit 1; fi
42
49
codecov -f " coverage*.xml" -s " ${WORKDIR} /tests/" -R " ${HOME} /nipype/" -F unittests -e CIRCLE_NODE_INDEX
43
50
codecov -f " smoketest*.xml" -s " ${WORKDIR} /tests/" -R " ${HOME} /nipype/" -F smoketests -e CIRCLE_NODE_INDEX
51
+
You can’t perform that action at this time.
0 commit comments