Skip to content

Commit

Permalink
add coverage and coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
warner committed Feb 6, 2015
1 parent 9e2f893 commit 3eeeeb0
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# -*- conf -*-

[run]
include =
foolscap/*
omit =
foolscap/_version.py
foolscap/test/*.py
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
/dist/
/foolscap.egg-info/
/_trial_temp*/
/.coverage
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ python:
- "2.7"
- "pypy"
install:
- pip install twisted pyOpenSSL pyflakes
- pip install twisted pyOpenSSL pyflakes coverage python-coveralls
script:
- make pyflakes
- python setup.py build
- make test
- coverage run `which trial` foolscap
after_success:
- coveralls

0 comments on commit 3eeeeb0

Please sign in to comment.