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:
67
67
pip install $PRE python-dateutil $NUMPY pyparsing!=2.0.4 pillow sphinx!=1.3.0;
68
68
fi
69
69
# Always install from pypi
70
- - pip install $PRE pep8 cycler
70
+ - pip install $PRE pep8 cycler coveralls coverage
71
71
- ' pip install https://github.com/tacaswell/nose/zipball/mnt_py36_compat#egg=nose'
72
72
73
73
# We manually install humor sans using the package from Ubuntu 14.10. Unfortunatly humor sans is not
@@ -161,3 +161,4 @@ after_success:
161
161
fi
162
162
fi
163
163
fi
164
+ coveralls
Original file line number Diff line number Diff line change 23
23
def run (extra_args ):
24
24
from nose .plugins import multiprocess
25
25
26
+ env = {"NOSE_WITH_COVERAGE" : 1 ,
27
+ 'NOSE_COVER_PACKAGE' : 'matplotlib' ,
28
+ 'NOSE_COVER_HTML' : 1 }
29
+
26
30
matplotlib ._init_tests ()
27
31
28
32
# Nose doesn't automatically instantiate all of the plugins in the
@@ -33,8 +37,8 @@ def run(extra_args):
33
37
34
38
nose .main (addplugins = [x () for x in plugins ],
35
39
defaultTest = default_test_modules ,
36
- argv = sys .argv + extra_args )
37
-
40
+ argv = sys .argv + extra_args ,
41
+ env = env )
38
42
39
43
if __name__ == '__main__' :
40
44
extra_args = []
You can’t perform that action at this time.
0 commit comments