Disables yapf for travis tests for py2.4 and 3.3 #259

This commit is contained in:
Leandro Toledo 2016-05-14 23:53:02 -03:00
parent e57e6dd645
commit 1d9d0fc764

View file

@ -13,8 +13,8 @@ install:
- pip install -r requirements-dev.txt - pip install -r requirements-dev.txt
script: script:
- nosetests -v --with-flaky --no-flaky-report --with-coverage --cover-package=telegram/ - nosetests -v --with-flaky --no-flaky-report --with-coverage --cover-package=telegram/
- yapf -r telegram - 'if [ $TRAVIS_PYTHON_VERSION != 2.6 ] || [ $TRAVIS_PYTHON_VERSION != 3.3 ]; then yapf -r telegram; fi'
- flake8 telegram - flake8 telegram
- 'if [[ $TRAVIS_PYTHON_VERSION != 2.6 ]]; then pylint -E telegram --disable=no-name-in-module,import-error; fi' - 'if [ $TRAVIS_PYTHON_VERSION != 2.6 ]; then pylint -E telegram --disable=no-name-in-module,import-error; fi'
after_success: after_success:
coveralls coveralls