travis: add code coverage report

This commit is contained in:
Roman Zeyde 2015-07-02 10:04:02 +03:00
parent 90d32038fa
commit 7ae8bb88b4
1 changed files with 6 additions and 2 deletions

View File

@ -2,5 +2,9 @@ sudo: false
language: python
python:
- "2.7"
install: "pip install slowaes==0.1a1 ecdsa>=0.9 pbkdf2 requests pyasn1 pyasn1-modules tlslite>=0.4.5 qrcode SocksiPy-branch protobuf"
script: py.test -v
install:
- "pip install ."
- "pip install coverage"
script:
- "coverage run --source=lib -m py.test -v"
- "coverage report"