aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--.travis.yml5
-rw-r--r--tox.ini4
3 files changed, 7 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index c5a2f99c..2bf40e7c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@ __pycache__/
_build/
.tox/
*.egg-info/
+.coverage
diff --git a/.travis.yml b/.travis.yml
index fe46c7d3..f7ff6d97 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -9,7 +9,10 @@ env:
- TOX_ENV=pep8
install:
- - pip install tox
+ - pip install tox coveralls
script:
- tox -e $TOX_ENV
+
+after_success:
+ - coveralls
diff --git a/tox.ini b/tox.ini
index 4a80fc8b..5d214bd6 100644
--- a/tox.ini
+++ b/tox.ini
@@ -2,8 +2,8 @@
envlist = py26,py27,pypy,py32,py33,docs,pep8
[testenv]
-deps = pytest
-commands = py.test
+deps = pytest-cov
+commands = py.test --cov=cryptography/
[testenv:docs]
deps = sphinx