Add code coverage

This commit is contained in:
Julien Duponchelle 2015-02-05 10:46:27 +01:00
parent 132c06a2d4
commit 2df3525ffe
2 changed files with 5 additions and 1 deletions

View File

@ -13,7 +13,7 @@ install:
- pip install -rdev-requirements.txt - pip install -rdev-requirements.txt
script: script:
- py.test -v -s tests - py.test -v -s tests --cov gns3server --cov-report term-missing
#branches: #branches:
# only: # only:
@ -28,3 +28,5 @@ notifications:
# on_success: change # on_success: change
# on_failure: always # on_failure: always
after_success:
- coveralls

View File

@ -5,3 +5,5 @@ pytest==2.6.4
pep8==1.5.7 pep8==1.5.7
pytest-timeout pytest-timeout
pytest-capturelog pytest-capturelog
pytest-cov
python-coveralls