diff --git a/.travis.yml b/.travis.yml index 54e04a0f2..f16035c88 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,8 @@ python: install: - python setup.py install - - pip install flake8 + - if [[ $TRAVIS_PYTHON_VERSION == 2.6 ]]; then pip install flake8==2.6.2; fi + - if [[ $TRAVIS_PYTHON_VERSION != 2.6 ]]; then pip install flake8; fi - pip install coveralls before_script: