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 29
29
- docker run -i -v /etc/localtime:/etc/localtime:ro -v ~/scratch:/scratch -w /scratch --entrypoint="/usr/bin/run_nosetests.sh" nipype/testbench :
30
30
timeout : 2600
31
31
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
37
33
38
34
general :
39
35
artifacts :
Original file line number Diff line number Diff line change 5
5
source activate nipypetests-2.7
6
6
7
7
mkdir -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
9
9
cp -r /root/src/nipype/doc/_build/html/* /scratch/docs/
10
10
chmod 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 106
106
"""
107
107
108
108
normalize = 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' )
110
110
111
111
112
112
"""Smooth the functional data using
You can’t perform that action at this time.
0 commit comments