Add Coverage (coveralls) to the Travis file

pull/404/head
Nicolas Hennion 2014-07-09 14:42:25 +02:00
parent bc277ad709
commit e4a91eb462
1 changed files with 5 additions and 1 deletions

View File

@ -4,9 +4,13 @@ python:
- "2.7"
- "3.3"
- "3.4"
- "pypy"
install:
- pip install -r requirements.txt
- pip install coveralls
script:
- python setup.py install
- python unitest.py
- python unitest.py
- coverage run --source=glances unitest.py
after_success:
- coveralls