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 diff --git a/tox.ini b/tox.ini index f927e652..321b7062 100644 --- a/tox.ini +++ b/tox.ini @@ -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 =