File tree Expand file tree Collapse file tree 4 files changed +18
-9
lines changed
Expand file tree Collapse file tree 4 files changed +18
-9
lines changed Original file line number Diff line number Diff line change 2929 - docker run -i -v /etc/localtime:/etc/localtime:ro -v ~/scratch:/scratch -w /scratch --entrypoint="/usr/bin/run_nosetests.sh" nipype/testbench :
3030 timeout : 2600
3131 post :
32- - mkdir -p ${CIRCLE_TEST_REPORTS}/nose
33- - sudo mv ~/scratch/nosetests.xml ${CIRCLE_TEST_REPORTS}/nose/${CIRCLE_PROJECT_REPONAME}.xml
34- - mkdir -p ~/docs
35- - sudo mv ~/scratch/docs/* ~/docs/
36- - sudo mv ~/scratch/builddocs.log ~/docs/log.txt
32+ - bash docker/circleci/teardown.sh
3733
3834general :
3935 artifacts :
Original file line number Diff line number Diff line change 55source activate nipypetests-2.7
66
77mkdir -p /scratch/docs
8- set -o pipefail && cd /root/src/nipype/doc && make html 2>&1 | tee /scratch/builddoc .log
8+ set -o pipefail && cd /root/src/nipype/doc && make html 2>&1 | tee /scratch/builddocs .log
99cp -r /root/src/nipype/doc/_build/html/* /scratch/docs/
1010chmod 777 -R /scratch/docs
11- chmod 777 /scratch/builddoc .log
12- cat /scratch/builddoc .log && if grep -q " ERROR" /scratch/builddoc .log; then false ; else true ; fi
11+ chmod 777 /scratch/builddocs .log
12+ cat /scratch/builddocs .log && if grep -q " ERROR" /scratch/builddocs .log; then false ; else true ; fi
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ #
3+ # This script puts all artifacts in place after the smoke tests
4+ #
5+ #
6+ set -u
7+ set -e
8+
9+ mkdir -p ${CIRCLE_TEST_REPORTS} /nose
10+ sudo mv ~ /scratch/nosetests.xml ${CIRCLE_TEST_REPORTS} /nose/${CIRCLE_PROJECT_REPONAME} .xml
11+ mkdir -p ~ /docs
12+ sudo mv ~ /scratch/docs/* ~ /docs/
13+ sudo mv ~ /scratch/builddocs.log ~ /docs/log.txt
Original file line number Diff line number Diff line change 106106"""
107107
108108normalize = pe .Node (interface = spm .Normalize (), name = "normalize" )
109- normalize .inputs .template = os .path .abspath ('data/T1.nii' )
109+ normalize .inputs .template = os .path .abspath ('nipype-tutorial/ data/T1.nii' )
110110
111111
112112"""Smooth the functional data using
You can’t perform that action at this time.
0 commit comments