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

This commit is contained in:
Leandro Toledo 2016-05-14 23:59:45 -03:00
parent 1d9d0fc764
commit 836c50965a

View file

@ -13,7 +13,7 @@ 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/
- 'if [ $TRAVIS_PYTHON_VERSION != 2.6 ] || [ $TRAVIS_PYTHON_VERSION != 3.3 ]; then yapf -r telegram; fi' - '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: