File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 3
3
set -x
4
4
set -u
5
5
6
+ env
7
+
6
8
PYTHON_VERSION=$( python -c " import sys; print('{}{}'.format(sys.version_info[0], sys.version_info[1]))" )
7
9
8
10
# Create necessary directories
24
26
cd /root/src/nipype/
25
27
make clean
26
28
nosetests -s nipype -c /root/src/nipype/.noserc --xunit-file=" /scratch/nosetests_py${PYTHON_VERSION} .xml" --cover-xml-file=" /scratch/coverage_py${PYTHON_VERSION} .xml"
27
- bash <( curl -s https://codecov.io/bash) -f /scratch/coverage_py ${PYTHON_VERSION} .xml - t ac172a50-8e66-42e5-8822-5373fcf54686 -F unittests
29
+ bash <( curl -s https://codecov.io/bash) -t ac172a50-8e66-42e5-8822-5373fcf54686 -cF unittests
28
30
29
31
# Workaround: run here the profiler tests in python 3
30
32
if [[ " ${PYTHON_VERSION} " -ge " 30" ]]; then
31
33
echo ' [execution]' >> /root/.nipype/nipype.cfg
32
34
echo ' profile_runtime = true' >> /root/.nipype/nipype.cfg
33
35
nosetests nipype/interfaces/tests/test_runtime_profiler.py --xunit-file=" /scratch/nosetests_py${PYTHON_VERSION} _profiler.xml" --cover-xml-file=" /scratch/coverage_py${PYTHON_VERSION} _profiler.xml"
34
- bash <( curl -s https://codecov.io/bash) -f /scratch/coverage_py ${PYTHON_VERSION} _profiler.xml - t ac172a50-8e66-42e5-8822-5373fcf54686 -F unittests
36
+ bash <( curl -s https://codecov.io/bash) -t ac172a50-8e66-42e5-8822-5373fcf54686 -cF unittests
35
37
nosetests nipype/pipeline/plugins/tests/test_multiproc* .py --xunit-file=" /scratch/nosetests_py${PYTHON_VERSION} _multiproc.xml" --cover-xml-file=" /scratch/coverage_py${PYTHON_VERSION} _multiproc.xml"
36
- bash <( curl -s https://codecov.io/bash) -f /scratch/coverage_py ${PYTHON_VERSION} _multiproc.xml - t ac172a50-8e66-42e5-8822-5373fcf54686 -F unittests
38
+ bash <( curl -s https://codecov.io/bash) -t ac172a50-8e66-42e5-8822-5373fcf54686 -cF unittests
37
39
fi
38
40
39
41
# Copy crashfiles to scratch
You can’t perform that action at this time.
0 commit comments