File tree 3 files changed +7
-1
lines changed
3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -95,8 +95,11 @@ before_install:
95
95
install :
96
96
- travis_retry pip install $EXTRA_PIP_FLAGS -e .[$NIPYPE_EXTRAS]
97
97
98
+ after_install :
99
+ - travis_retry pip install pytest-xdist
100
+
98
101
script :
99
- - py.test -v --cov nipype --cov-config .coveragerc --cov-report xml:cov.xml -c nipype/pytest.ini --doctest-modules nipype
102
+ - py.test -v --cov nipype --cov-config .coveragerc --cov-report xml:cov.xml -c nipype/pytest.ini --doctest-modules nipype -n auto
100
103
101
104
after_script :
102
105
- codecov --file cov.xml --flags unittests -e TRAVIS_JOB_NUMBER
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ export COVERAGE_FILE=${WORKDIR}/tests/.coverage.py${PYTHON_VERSION}
29
29
py.test -v --junitxml=${WORKDIR} /tests/pytests_py${PYTHON_VERSION} .xml \
30
30
--cov nipype --cov-config /src/nipype/.coveragerc \
31
31
--cov-report xml:${WORKDIR} /tests/coverage_py${PYTHON_VERSION} .xml \
32
+ -n auto \
32
33
-c ${TESTPATH} /pytest.ini ${TESTPATH}
33
34
exit_code=$?
34
35
Original file line number Diff line number Diff line change @@ -108,6 +108,8 @@ function generate_main_dockerfile() {
108
108
--miniconda use_env=neuro \
109
109
pip_opts=" -e" \
110
110
pip_install=" /src/nipype[all]" \
111
+ --miniconda use_env=neuro \
112
+ pip_install=" pytest-xdist" \
111
113
--workdir /work \
112
114
--label org.label-schema.build-date=' $BUILD_DATE' \
113
115
org.label-schema.name=" NIPYPE" \
You can’t perform that action at this time.
0 commit comments