Skip to content

Commit cb245df

Browse files
committed
Merge branch 'master' into chrisfilo-patch-2
2 parents d485f28 + 2d0a2f5 commit cb245df

File tree

3 files changed

+17
-6
lines changed

3 files changed

+17
-6
lines changed

circle.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ dependencies:
3535
test:
3636
override:
3737
- docker run -v /etc/localtime:/etc/localtime:ro -v ~/scratch:/scratch -w /root/src/nipype/doc nipype/nipype_test:py35 /usr/bin/run_builddocs.sh
38-
- docker run -v /etc/localtime:/etc/localtime:ro -e FSL_COURSE_DATA="/root/examples/nipype-fsl_course_data" -v ~/examples:/root/examples:ro -v ~/scratch:/scratch -w /root/src/nipype nipype/nipype_test:py35 /usr/bin/run_nosetests.sh py35 :
38+
- docker run -v /etc/localtime:/etc/localtime:ro -e FSL_COURSE_DATA="/root/examples/nipype-fsl_course_data" -e TRAVIS_PYTHON_VERSION="3.5" -v ~/examples:/root/examples:ro -v ~/scratch:/scratch -w /root/src/nipype nipype/nipype_test:py35 /usr/bin/run_nosetests.sh py35 :
3939
timeout: 2600
40-
- docker run -v /etc/localtime:/etc/localtime:ro -e FSL_COURSE_DATA="/root/examples/nipype-fsl_course_data" -v ~/examples:/root/examples:ro -v ~/scratch:/scratch -w /root/src/nipype nipype/nipype_test:py27 /usr/bin/run_nosetests.sh py27 :
40+
- docker run -v /etc/localtime:/etc/localtime:ro -e FSL_COURSE_DATA="/root/examples/nipype-fsl_course_data" -e TRAVIS_PYTHON_VERSION="2.7" -v ~/examples:/root/examples:ro -v ~/scratch:/scratch -w /root/src/nipype nipype/nipype_test:py27 /usr/bin/run_nosetests.sh py27 :
4141
timeout: 5200
4242
- docker run -v /etc/localtime:/etc/localtime:ro -v ~/examples:/root/examples:ro -v ~/scratch:/scratch -w /scratch nipype/nipype_test:py35 /usr/bin/run_examples.sh test_spm Linear /root/examples/ workflow3d :
4343
timeout: 1600
@@ -49,7 +49,8 @@ test:
4949
- docker run -v /etc/localtime:/etc/localtime:ro -v ~/examples:/root/examples:ro -v ~/scratch:/scratch -w /scratch nipype/nipype_test:py35 /usr/bin/run_examples.sh fmri_spm_dartel Linear /root/examples/ l2pipeline :
5050
timeout: 1600
5151
- docker run -v /etc/localtime:/etc/localtime:ro -v ~/examples:/root/examples:ro -v ~/scratch:/scratch -w /scratch nipype/nipype_test:py35 /usr/bin/run_examples.sh fmri_fsl_reuse Linear /root/examples/ level1_workflow
52-
- docker run -v /etc/localtime:/etc/localtime:ro -e NIPYPE_NUMBER_OF_CPUS=4 -v ~/examples:/root/examples:ro -v ~/scratch:/scratch -w /scratch nipype/nipype_test:py27 /usr/bin/run_examples.sh fmri_spm_nested MultiProc /root/examples/ level1
52+
# Disabled until https://github.com/nipy/nipype/issues/1692 is resolved
53+
# - docker run -v /etc/localtime:/etc/localtime:ro -e NIPYPE_NUMBER_OF_CPUS=4 -v ~/examples:/root/examples:ro -v ~/scratch:/scratch -w /scratch nipype/nipype_test:py27 /usr/bin/run_examples.sh fmri_spm_nested MultiProc /root/examples/ level1
5354
- docker run -v /etc/localtime:/etc/localtime:ro -e NIPYPE_NUMBER_OF_CPUS=4 -v ~/examples:/root/examples:ro -v ~/scratch:/scratch -w /scratch nipype/nipype_test:py35 /usr/bin/run_examples.sh fmri_spm_nested MultiProc /root/examples/ level1
5455
- docker run -v /etc/localtime:/etc/localtime:ro -e NIPYPE_NUMBER_OF_CPUS=4 -v ~/examples:/root/examples:ro -v ~/scratch:/scratch -w /scratch nipype/nipype_test:py35 /usr/bin/run_examples.sh fmri_spm_nested MultiProc /root/examples/ l2pipeline
5556

nipype/pipeline/plugins/tests/test_multiproc.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ def _list_outputs(self):
3434
outputs['output1'] = [1, self.inputs.input1]
3535
return outputs
3636

37-
37+
# Disabled until https://github.com/nipy/nipype/issues/1692 is resolved
38+
@skipif(os.environ.get('TRAVIS_PYTHON_VERSION', '') == '2.7')
3839
def test_run_multiproc():
3940
cur_dir = os.getcwd()
4041
temp_dir = mkdtemp(prefix='test_engine_')
@@ -122,7 +123,8 @@ def find_metrics(nodes, last_node):
122123

123124
return total_memory, total_threads
124125

125-
126+
# Disabled until https://github.com/nipy/nipype/issues/1692 is resolved
127+
@skipif(os.environ.get('TRAVIS_PYTHON_VERSION') == '2.7')
126128
def test_no_more_memory_than_specified():
127129
LOG_FILENAME = 'callback.log'
128130
my_logger = logging.getLogger('callback')
@@ -181,6 +183,8 @@ def test_no_more_memory_than_specified():
181183

182184
os.remove(LOG_FILENAME)
183185

186+
# Disabled until https://github.com/nipy/nipype/issues/1692 is resolved
187+
@skipif(os.environ.get('TRAVIS_PYTHON_VERSION') == '2.7')
184188
@skipif(nib.runtime_profile == False)
185189
def test_no_more_threads_than_specified():
186190
LOG_FILENAME = 'callback.log'

nipype/pipeline/plugins/tests/test_multiproc_nondaemon.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from tempfile import mkdtemp
1212
from shutil import rmtree
1313

14-
from nipype.testing import assert_equal, assert_true
14+
from nipype.testing import assert_equal, assert_true, skipif
1515
import nipype.pipeline.engine as pe
1616
from nipype.interfaces.utility import Function
1717

@@ -90,6 +90,8 @@ def dummyFunction(filename):
9090
return total
9191

9292

93+
# Disabled until https://github.com/nipy/nipype/issues/1692 is resolved
94+
@skipif(os.environ.get('TRAVIS_PYTHON_VERSION', '') == '2.7')
9395
def run_multiproc_nondaemon_with_flag(nondaemon_flag):
9496
'''
9597
Start a pipe with two nodes using the resource multiproc plugin and
@@ -131,6 +133,8 @@ def run_multiproc_nondaemon_with_flag(nondaemon_flag):
131133
return result
132134

133135

136+
# Disabled until https://github.com/nipy/nipype/issues/1692 is resolved
137+
@skipif(os.environ.get('TRAVIS_PYTHON_VERSION', '') == '2.7')
134138
def test_run_multiproc_nondaemon_false():
135139
'''
136140
This is the entry point for the test. Two times a pipe of several multiprocessing jobs gets
@@ -148,6 +152,8 @@ def test_run_multiproc_nondaemon_false():
148152
yield assert_true, shouldHaveFailed
149153

150154

155+
# Disabled until https://github.com/nipy/nipype/issues/1692 is resolved
156+
@skipif(os.environ.get('TRAVIS_PYTHON_VERSION', '') == '2.7')
151157
def test_run_multiproc_nondaemon_true():
152158
# with nondaemon_flag = True, the execution should succeed
153159
result = run_multiproc_nondaemon_with_flag(True)

0 commit comments

Comments
 (0)