commit e8dd11161b952de3ac0b5f7fa7cb976de25ef24b parent 616becd9a811fae31f0b50f602a60e318538f56b Author: ThomasV <electrumdev@gmail.com> Date: Thu, 2 Jul 2015 15:30:19 +0200 Merge pull request #1333 from romanz/master travis: add code coverage report Diffstat:
M | .travis.yml | | | 8 | ++++++-- |
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/.travis.yml b/.travis.yml @@ -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"