diff --git a/.travis.yml b/.travis.yml index afb9a8d72..dac542d9d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,15 +12,17 @@ install: - if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pip install -U ipaddress mock; fi - if [[ $TRAVIS_PYTHON_VERSION == '3.2' ]]; then pip install -U ipaddress mock; fi - if [[ $TRAVIS_PYTHON_VERSION == '3.3' ]]; then pip install -U ipaddress; fi + - pip install coverage coveralls script: - pip install flake8 pep8 - python setup.py build - python setup.py install - - python test/test_psutil.py + - coverage run test/test_psutil.py --include="*psutil*" --omit="test/*,*setup*" - python test/test_memory_leaks.py - flake8 - pep8 os: - linux - - osx - + - osx # currently not supported by travis +after_success: + - coveralls # upload reports to coveralls.io