Remove zmq as requirement, Add coverage report
This commit is contained in:
parent
f8b35c9a4c
commit
5f71e79a2b
3 changed files with 9 additions and 2 deletions
|
@ -3,8 +3,10 @@ python:
|
||||||
- "2.7"
|
- "2.7"
|
||||||
install:
|
install:
|
||||||
- pip install -r requirements.txt
|
- pip install -r requirements.txt
|
||||||
script: python -m pytest src/Test
|
script:
|
||||||
|
- python -m pytest src/Test --cov src --cov-config src/Test/coverage.ini
|
||||||
before_install:
|
before_install:
|
||||||
- pip install codecov
|
- pip install codecov
|
||||||
|
- pip install pytest-cov
|
||||||
after_success:
|
after_success:
|
||||||
- codecov
|
- codecov
|
|
@ -1,3 +1,2 @@
|
||||||
gevent==1.0.1
|
gevent==1.0.1
|
||||||
pyzmq==14.4.1
|
|
||||||
msgpack-python==0.4.4
|
msgpack-python==0.4.4
|
||||||
|
|
6
src/Test/coverage.ini
Normal file
6
src/Test/coverage.ini
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
[run]
|
||||||
|
branch = True
|
||||||
|
omit =
|
||||||
|
src/lib/*
|
||||||
|
src/Test/*
|
||||||
|
[report]
|
Loading…
Reference in a new issue