Skip to content

Commit 3fbb325

Browse files
committed
include coverage file, roll back examples to linear
1 parent 08b382f commit 3fbb325

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

.noserc

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
[nosetests]
22
verbosity=3
33

4+
logging-level=DEBUG
5+
with-doctest=1
6+
with-xunit=1
47
with-coverage=1
58
cover-branches=1
69
cover-xml=1
7-
cover-xml-file=./coverage.xml
810
cover-min-percentage=50
9-
10-
11-
with-xunit=1

circle.yml

+8-9
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ dependencies:
1919
test:
2020
override:
2121
- 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 MultiProc /root/examples/ workflow3d workflow4d :
22+
- docker run -i -v /etc/localtime:/etc/localtime:ro -v ~/scratch:/scratch -w /scratch nipype/testbench test_spm Linear /root/examples/ workflow3d workflow4d :
2323
timeout: 1600
24-
- docker run -i -v /etc/localtime:/etc/localtime:ro -v ~/scratch:/scratch -w /scratch nipype/testbench fmri_fsl_feeds MultiProc /root/examples/ l1pipeline
25-
- docker run -i -v /etc/localtime:/etc/localtime:ro -v ~/scratch:/scratch -w /scratch nipype/testbench fmri_spm_dartel MultiProc /root/examples/ level1 l2pipeline :
24+
- docker run -i -v /etc/localtime:/etc/localtime:ro -v ~/scratch:/scratch -w /scratch nipype/testbench fmri_fsl_feeds Linear /root/examples/ l1pipeline
25+
- docker run -i -v /etc/localtime:/etc/localtime:ro -v ~/scratch:/scratch -w /scratch nipype/testbench fmri_spm_dartel Linear /root/examples/ level1 l2pipeline :
2626
timeout: 1600
27-
- docker run -i -v /etc/localtime:/etc/localtime:ro -v ~/scratch:/scratch -w /scratch nipype/testbench fmri_fsl_reuse MultiProc /root/examples/ level1_workflow
28-
- docker run -i -v /etc/localtime:/etc/localtime:ro -v ~/scratch:/scratch -w /scratch nipype/testbench fmri_spm_nested MultiProc /root/examples/ level1 l2pipeline
27+
- docker run -i -v /etc/localtime:/etc/localtime:ro -v ~/scratch:/scratch -w /scratch nipype/testbench fmri_fsl_reuse Linear /root/examples/ level1_workflow
28+
- docker run -i -v /etc/localtime:/etc/localtime:ro -v ~/scratch:/scratch -w /scratch nipype/testbench fmri_spm_nested Linear /root/examples/ level1 l2pipeline
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:
@@ -34,7 +34,6 @@ test:
3434
general:
3535
artifacts:
3636
- "~/docs"
37-
# - "coverage.xml"
38-
# - "doc/_build/html"
39-
# - "~/log.txt"
40-
# - "nosetests.xml"
37+
- "~/coverage.xml"
38+
- "~/nosetests.xml"
39+
- "~/builddocs.log"

docker/circleci/run_nosetests.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ done
55
source activate nipypetests-2.7
66
cd /root/src/nipype
77
mkdir -p /scratch/nose
8-
nosetests --with-doctest -c /root/src/nipype/.noserc --logging-level=DEBUG --verbosity=3 --xunit-file="/scratch/nosetests.xml"
8+
nosetests -c /root/src/nipype/.noserc --xunit-file="/scratch/nosetests.xml" --cover-xml-file="/scratch/coverage.xml"
99
chmod 777 /scratch/nosetests.xml
10+
chmod 777 /scratch/coverage.xml
1011
chmod 777 -R /scratch/nose

docker/circleci/teardown.sh

+3-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ set -u
77
set -e
88

99
mkdir -p ${CIRCLE_TEST_REPORTS}/nose
10-
sudo mv ~/scratch/nosetests.xml ${CIRCLE_TEST_REPORTS}/nose/${CIRCLE_PROJECT_REPONAME}.xml
10+
sudo cp ~/scratch/nosetests.xml ${CIRCLE_TEST_REPORTS}/nose/${CIRCLE_PROJECT_REPONAME}.xml
11+
sudo mv ~/scratch/coverage.xml ~/coverage.xml
1112
mkdir -p ~/docs
1213
sudo mv ~/scratch/docs/* ~/docs/
13-
sudo mv ~/scratch/builddocs.log ~/docs/log.txt
14+
sudo mv ~/scratch/builddocs.log ~/builddocs.log

0 commit comments

Comments
 (0)