tox: Integrate Coveralls.io

To check the code coverage of the unit tests on web, this patch
add integration of Coveralls.io (https://coveralls.io/).

Usage:
  1. Sign in to Coveralls.io with your GitHub account.
  2. Add repos at your account page.
  3. Execute tests on Travis-CI.

Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
IWASE Yusuke 2016-05-13 14:15:32 +09:00 committed by FUJITA Tomonori
parent dc6e2b8691
commit 208ad9d11c
2 changed files with 5 additions and 2 deletions

View File

@ -10,9 +10,12 @@ env:
- TOX_ENV=pep8
install:
- "pip install tox"
- pip install tox coveralls
script:
- NOSE_VERBOSE=0 tox -e $TOX_ENV
after_success:
- coveralls
sudo: false

View File

@ -9,7 +9,7 @@ deps = -U
usedevelop = True
passenv= NOSE_VERBOSE
commands =
python ryu/tests/run_tests.py '{posargs}'
coverage run --source=ryu ryu/tests/run_tests.py '{posargs}'
[testenv:pep8]
commands =