Improve quality of code by resolving issues found by quantifiedcode and codacy

This commit is contained in:
Alexander Kukushkin
2016-02-12 12:23:49 +01:00
parent b77908ce58
commit df9b8fed2e
31 changed files with 762 additions and 437 deletions
+2 -1
View File
@@ -6,9 +6,10 @@ python:
install:
- if [[ $TRAVIS_PYTHON_VERSION == 2* ]]; then pip install -r requirements-py2.txt --use-mirrors; fi
- if [[ $TRAVIS_PYTHON_VERSION == 3* ]]; then pip install -r requirements-py3.txt; fi
- pip install coveralls
- pip install coveralls codacy-coverage
script:
- python setup.py test
- python setup.py flake8
after_success:
- coveralls
- python-codacy-coverage -r coverage.xml