diff options
author | IWASE Yusuke <iwase.yusuke0@gmail.com> | 2016-05-13 14:15:32 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-05-13 22:33:21 +0900 |
commit | 208ad9d11c3cbc335eba4bca625c86cc6a3a12ec (patch) | |
tree | a255c17a34e24faf3af4e6f142d80bf9397b2fae | |
parent | dc6e2b869168aefb99abb2019f5bd460e5f5ea5f (diff) |
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>
-rw-r--r-- | .travis.yml | 5 | ||||
-rw-r--r-- | tox.ini | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 9c352b02..76eb1985 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 @@ -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 = |