Skip to content

Commit

Permalink
add coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
mfussenegger committed Jul 9, 2014
1 parent b028f74 commit 7454d44
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 8 deletions.
10 changes: 10 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[report]
omit =
*/virtualenv/*
*/.buildout/eggs/*
bin/test
buildout-cache/eggs/*
parts/*
eggs/*
exclude_lines =
raise NotImplemented
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ crate.egg-info
/.idea/
.tox/
*.DS_Store
htmlcov/
.coverage
17 changes: 10 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
language: python
python:
- 2.6
- 2.7
- 3.3
- 3.4
- 2.6
- 2.7
- 3.3
- 3.4
install:
- python bootstrap.py
- ./bin/buildout
- python bootstrap.py
- ./bin/buildout
script:
- ./bin/test
- bin/coverage run bin/test
after_success:
- pip install coveralls
- coveralls
notifications:
email: false
7 changes: 6 additions & 1 deletion buildout.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ parts = test
tox
scripts
sphinx
coverage

[scripts]
recipe = zc.recipe.egg:script
Expand All @@ -16,6 +17,10 @@ eggs = crate
crate [test,sqlalchemy]
wheel

[coverage]
recipe = zc.recipe.egg
eggs = createcoverage

[tox]
recipe = zc.recipe.egg:script
eggs = tox
Expand All @@ -37,6 +42,6 @@ eggs = sphinx
crate-docs-theme
relative-paths=true
scripts = sphinx-build=sphinx
initialization =
initialization =
sys.argv.extend(['-N', '-q', '-b', 'html',
'-E', 'docs', '${buildout:directory}/out/html'])

0 comments on commit 7454d44

Please # to comment.