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:
52
52
- travis_retry pip install -r requirements.txt
53
53
- travis_retry git clone https://github.com/INCF/pybids.git ${HOME}/pybids &&
54
54
pip install -e ${HOME}/pybids
55
+ - travis_retry pip install codecov
55
56
56
57
install :
57
58
- travis_retry pip install $PIP_FLAGS -e .[$NIPYPE_EXTRAS]
58
59
59
60
script :
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
61
62
62
63
deploy :
63
64
provider : pypi
@@ -69,3 +70,6 @@ deploy:
69
70
repo : nipy/nipype
70
71
branch : master
71
72
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