Skip to content

Commit 1d9d0fc

Browse files
committed
Disables yapf for travis tests for py2.4 and 3.3 python-telegram-bot#259
1 parent e57e6dd commit 1d9d0fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ install:
1313
- pip install -r requirements-dev.txt
1414
script:
1515
- nosetests -v --with-flaky --no-flaky-report --with-coverage --cover-package=telegram/
16-
- yapf -r telegram
16+
- 'if [ $TRAVIS_PYTHON_VERSION != 2.6 ] || [ $TRAVIS_PYTHON_VERSION != 3.3 ]; then yapf -r telegram; fi'
1717
- flake8 telegram
18-
- 'if [[ $TRAVIS_PYTHON_VERSION != 2.6 ]]; then pylint -E telegram --disable=no-name-in-module,import-error; fi'
18+
- 'if [ $TRAVIS_PYTHON_VERSION != 2.6 ]; then pylint -E telegram --disable=no-name-in-module,import-error; fi'
1919
after_success:
2020
coveralls

0 commit comments

Comments
 (0)