Skip to content

Commit 7454d44

Browse files
committed
add coveralls
1 parent b028f74 commit 7454d44

File tree

4 files changed

+28
-8
lines changed

4 files changed

+28
-8
lines changed

.coveragerc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[report]
2+
omit =
3+
*/virtualenv/*
4+
*/.buildout/eggs/*
5+
bin/test
6+
buildout-cache/eggs/*
7+
parts/*
8+
eggs/*
9+
exclude_lines =
10+
raise NotImplemented

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@ crate.egg-info
1111
/.idea/
1212
.tox/
1313
*.DS_Store
14+
htmlcov/
15+
.coverage

.travis.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
language: python
22
python:
3-
- 2.6
4-
- 2.7
5-
- 3.3
6-
- 3.4
3+
- 2.6
4+
- 2.7
5+
- 3.3
6+
- 3.4
77
install:
8-
- python bootstrap.py
9-
- ./bin/buildout
8+
- python bootstrap.py
9+
- ./bin/buildout
1010
script:
11-
- ./bin/test
11+
- bin/coverage run bin/test
12+
after_success:
13+
- pip install coveralls
14+
- coveralls
1215
notifications:
1316
email: false

buildout.cfg

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ parts = test
88
tox
99
scripts
1010
sphinx
11+
coverage
1112

1213
[scripts]
1314
recipe = zc.recipe.egg:script
@@ -16,6 +17,10 @@ eggs = crate
1617
crate [test,sqlalchemy]
1718
wheel
1819

20+
[coverage]
21+
recipe = zc.recipe.egg
22+
eggs = createcoverage
23+
1924
[tox]
2025
recipe = zc.recipe.egg:script
2126
eggs = tox
@@ -37,6 +42,6 @@ eggs = sphinx
3742
crate-docs-theme
3843
relative-paths=true
3944
scripts = sphinx-build=sphinx
40-
initialization =
45+
initialization =
4146
sys.argv.extend(['-N', '-q', '-b', 'html',
4247
'-E', 'docs', '${buildout:directory}/out/html'])

0 commit comments

Comments
 (0)