File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -52,12 +52,13 @@ before_install:
5252- travis_retry pip install -r requirements.txt
5353- travis_retry git clone https://github.com/INCF/pybids.git ${HOME}/pybids &&
5454 pip install -e ${HOME}/pybids
55+ - travis_retry pip install codecov
5556
5657install :
5758- travis_retry pip install $PIP_FLAGS -e .[$NIPYPE_EXTRAS]
5859
5960script :
60- - py.test -v --doctest-modules nipype
61+ - py.test -v --cov nipype --cov-config .coveragerc --cov-report xml:cov.xml -c nipype/pytest.ini -- doctest-modules nipype
6162
6263deploy :
6364 provider : pypi
@@ -69,3 +70,6 @@ deploy:
6970 repo : nipy/nipype
7071 branch : master
7172 distributions : " sdist bdist_wheel"
73+
74+ after_script :
75+ - codecov --file cov.xml --flags unittests -e TRAVIS_JOB_NUMBER
You can’t perform that action at this time.
0 commit comments