diff --git a/.travis.yml b/.travis.yml index 2fa8e20..9b7e7d9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,11 @@ install: - if [[ "$TRAVIS_PYTHON_VERSION" == "3.2" ]]; then travis_retry pip install coverage==3.7.1; fi - if [[ "$TRAVIS_PYTHON_VERSION" != "3.2" ]]; then travis_retry pip install coverage; fi - python setup.py install +- pip install codecov script: +- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then coverage run -m unittest2 discover; else coverage run -m unittest discover; fi +after_script: +- codecov # Run pycodestyle - pycodestyle - if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then unit2 discover; else python -m unittest discover; fi