From 1d9d0fc764aaf19a33321b45e051aac4c4af5c6a Mon Sep 17 00:00:00 2001 From: Leandro Toledo Date: Sat, 14 May 2016 23:53:02 -0300 Subject: [PATCH] Disables yapf for travis tests for py2.4 and 3.3 #259 --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 143d95253..bd53988f5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,8 +13,8 @@ install: - pip install -r requirements-dev.txt script: - 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 - - '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: coveralls