File tree Expand file tree Collapse file tree 3 files changed +18
-3
lines changed
Expand file tree Collapse file tree 3 files changed +18
-3
lines changed Original file line number Diff line number Diff line change 1+ [run]
2+ source =matplotlib
3+ [report]
4+ omit =
5+ */python?.?/*
6+ */site-packages/nose/*
7+ *test*
8+
9+ exclude_lines =
10+ raise NotImplemented
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ install:
6767 pip install $PRE python-dateutil $NUMPY pyparsing!=2.0.4 pillow sphinx!=1.3.0;
6868 fi
6969 # Always install from pypi
70- - pip install $PRE pep8 cycler
70+ - pip install $PRE pep8 cycler coveralls coverage
7171 - ' pip install https://github.com/tacaswell/nose/zipball/mnt_py36_compat#egg=nose'
7272
7373 # We manually install humor sans using the package from Ubuntu 14.10. Unfortunatly humor sans is not
@@ -165,3 +165,4 @@ after_success:
165165 fi
166166 fi
167167 fi
168+ coveralls
Original file line number Diff line number Diff line change 2323def run (extra_args ):
2424 from nose .plugins import multiprocess
2525
26+ env = {"NOSE_WITH_COVERAGE" : 1 ,
27+ 'NOSE_COVER_PACKAGE' : 'matplotlib' ,
28+ 'NOSE_COVER_HTML' : 1 }
29+
2630 matplotlib ._init_tests ()
2731
2832 # Nose doesn't automatically instantiate all of the plugins in the
@@ -33,8 +37,8 @@ def run(extra_args):
3337
3438 nose .main (addplugins = [x () for x in plugins ],
3539 defaultTest = default_test_modules ,
36- argv = sys .argv + extra_args )
37-
40+ argv = sys .argv + extra_args ,
41+ env = env )
3842
3943if __name__ == '__main__' :
4044 extra_args = []
You can’t perform that action at this time.
0 commit comments