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