File tree 3 files changed +17
-2
lines changed
3 files changed +17
-2
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 @@ -24,7 +24,7 @@ matrix:
24
24
env : BUILD_DOCS=true
25
25
26
26
install :
27
- - pip install -q --use-mirrors nose python-dateutil $NUMPY pep8 pyparsing pillow sphinx!=1.3.0
27
+ - pip install python-dateutil $NUMPY pep8 pyparsing pillow sphinx!=1.3.0 coveralls coverage
28
28
- sudo apt-get update && sudo apt-get -qq install inkscape libav-tools gdb mencoder
29
29
# We use --no-install-recommends to avoid pulling in additional large latex docs that we don't need
30
30
@@ -119,3 +119,4 @@ after_success:
119
119
fi
120
120
fi
121
121
fi
122
+ coveralls
Original file line number Diff line number Diff line change 28
28
time .sleep (0.5 )
29
29
30
30
plugins = [KnownFailure ]
31
+ env = {"NOSE_WITH_COVERAGE" : 1 ,
32
+ 'NOSE_COVER_PACKAGE' : 'matplotlib' ,
33
+ 'NOSE_COVER_HTML' : 1 }
31
34
32
35
# Nose doesn't automatically instantiate all of the plugins in the
33
36
# child processes, so we have to provide the multiprocess plugin with
@@ -45,7 +48,8 @@ def run():
45
48
faulthandler .enable ()
46
49
47
50
nose .main (addplugins = [x () for x in plugins ],
48
- defaultTest = default_test_modules )
51
+ defaultTest = default_test_modules ,
52
+ env = env )
49
53
50
54
if __name__ == '__main__' :
51
55
if '--no-pep8' in sys .argv :
You can’t perform that action at this time.
0 commit comments