From 9d00588f304326c4dc6ccf6c4f066a78d8bd402c Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Wed, 7 Aug 2013 13:21:42 -0700 Subject: Record coverage --- .gitignore | 1 + .travis.yml | 5 ++++- tox.ini | 4 ++-- 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 -- cgit v1.2.3