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
2222 docker run --rm=false -it -v $WORKDIR :/work -w /src/nipype/doc nipype/nipype:py35 /usr/bin/run_builddocs.sh && \
2323 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 && \
2424 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=$?
2526 ;;
2627 1)
2728 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 && \
2829 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=$?
2931 ;;
3032 2)
3133 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 && \
3234 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=$?
3336 ;;
3437 3)
3538 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 && \
3639 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 && \
3740 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=$?
3842 ;;
3943esac
4044
4145cp ${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
4249codecov -f " coverage*.xml" -s " ${WORKDIR} /tests/" -R " ${HOME} /nipype/" -F unittests -e CIRCLE_NODE_INDEX
4350codecov -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