diff --git a/.travis.yml b/.travis.yml index 6be04ef2c..c49629fc1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -46,5 +46,5 @@ script: - if [[ $TRAVIS_PYTHON_VERSION < '3.5' ]]; then pip install -U .; fi - export PYTHONPATH=`python -c "import sys; print('typing_extensions/src_py2' if sys.version.startswith('2') else 'typing_extensions/src_py3')"`; py.test $PYTHONPATH; - - if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then flake8; fi - - if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then flake8 --config=.flake8-tests src/test_typing.py python2/test_typing.py typing_extensions/src_py2/test_typing_extensions.py typing_extensions/src_py3/test_typing_extensions.py; fi + - if [[ $TRAVIS_PYTHON_VERSION == '3.8' ]]; then flake8; fi + - if [[ $TRAVIS_PYTHON_VERSION == '3.8' ]]; then flake8 --config=.flake8-tests src/test_typing.py python2/test_typing.py typing_extensions/src_py2/test_typing_extensions.py typing_extensions/src_py3/test_typing_extensions.py; fi