Skip to content

Commit cb72f81

Browse files
committed
Added coverage configuration
Adjusted sublime project too
1 parent fdc1d68 commit cb72f81

File tree

4 files changed

+21
-19
lines changed

4 files changed

+21
-19
lines changed

.coveragerc

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[run]
2+
source = gitdb
3+
4+
; to make nosetests happy
5+
[report]
6+
omit =
7+
*/smmap/*
8+
*/yaml*
9+
*/tests/*
10+
*/python?.?/*
11+
*/site-packages/nose/*

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
MANIFEST
2+
.coverage
23
build/
34
dist/
45
*.pyc
56
*.o
67
*.so
78
.noseids
8-
*.sublime-workspace
9+
*.sublime-workspace

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ git:
1212
install:
1313
- pip install coveralls
1414
script:
15-
- nosetests -v
15+
- nosetests -v --with-coverage
1616
after_success:
1717
- coveralls
1818

etc/sublime-text/gitdb.sublime-project

+7-17
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@
1515
"folder_exclude_patterns" : [
1616
".git",
1717
"cover",
18-
"gitdb/ext"
18+
"gitdb/ext",
19+
"dist",
20+
"doc/build",
21+
".tox"
1922
]
2023
},
2124
// SMMAP
@@ -32,22 +35,9 @@
3235
"folder_exclude_patterns" : [
3336
".git",
3437
"cover",
35-
]
36-
},
37-
// ASYNC
38-
////////
39-
{
40-
"follow_symlinks": true,
41-
"path": "../../gitdb/ext/async",
42-
"file_exclude_patterns" : [
43-
"*.sublime-workspace",
44-
".git",
45-
".noseids",
46-
".coverage"
47-
],
48-
"folder_exclude_patterns" : [
49-
".git",
50-
"cover",
38+
"dist",
39+
"doc/build",
40+
".tox"
5141
]
5242
},
5343
]

0 commit comments

Comments
 (0)