travis: add code coverage report
This commit is contained in:
parent
90d32038fa
commit
7ae8bb88b4
|
@ -2,5 +2,9 @@ sudo: false
|
||||||
language: python
|
language: python
|
||||||
python:
|
python:
|
||||||
- "2.7"
|
- "2.7"
|
||||||
install: "pip install slowaes==0.1a1 ecdsa>=0.9 pbkdf2 requests pyasn1 pyasn1-modules tlslite>=0.4.5 qrcode SocksiPy-branch protobuf"
|
install:
|
||||||
script: py.test -v
|
- "pip install ."
|
||||||
|
- "pip install coverage"
|
||||||
|
script:
|
||||||
|
- "coverage run --source=lib -m py.test -v"
|
||||||
|
- "coverage report"
|
||||||
|
|
Loading…
Reference in New Issue