Skip to content

Commit

Permalink
tox: Integrate Coveralls.io
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
iwaseyusuke authored and fujita committed May 13, 2016
1 parent dc6e2b8 commit 208ad9d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit 208ad9d

Please sign in to comment.