Skip to content

Commit aadbbfe

Browse files
committed
updating to add nosetests #1538
1 parent 637b88b commit aadbbfe

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

circle.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,14 @@ test:
2626
timeout: 1600
2727
- docker run -i -v /etc/localtime:/etc/localtime:ro -v ~/scratch:/scratch -w /scratch nipype/testbench fmri_fsl_reuse Linear level1_workflow
2828
- docker run -i -v /etc/localtime:/etc/localtime:ro -v ~/scratch:/scratch -w /scratch nipype/testbench fmri_spm_nested Linear level1 l2pipeline
29+
- docker run -i -v /etc/localtime:/etc/localtime:ro -v ~/scratch:/scratch -w /scratch --entrypoint="/usr/bin/run_nosetests.sh" nipype/testbench --xunit-file="/scratch/nose/${CIRCLE_PROJECT_REPONAME}.xml :
30+
timeout: 2600
31+
post:
32+
- mkdir -p ${CIRCLE_TEST_REPORTS}/nose
33+
- mv ~/scratch/nose/${CIRCLE_PROJECT_REPONAME}.xml ${CIRCLE_TEST_REPORTS}/nose/
2934

30-
# general:
35+
general:
36+
build_dir: "~/scratch"
3137
# artifacts:
3238
# - "doc/_build/html"
3339
# - "~/log.txt"

docker/circleci/run_examples.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@ for i in /etc/profile.d/*.sh; do
33
source $i
44
done
55
source activate nipypetests-2.7
6-
cd /root/examples
76
python /root/src/nipype/tools/run_examples.py $@

docker/circleci/run_nosetests.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/bash
2+
for i in /etc/profile.d/*.sh; do
3+
source $i
4+
done
5+
source activate nipypetests-2.7
6+
nosetests --with-doctest -c ./.noserc --logging-level=DEBUG --verbosity=3 $@

0 commit comments

Comments
 (0)