From 8b9eab33bf7485d1be8453236e43efc7c745c044 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20Verg=C3=A9?= Date: Wed, 21 Feb 2018 13:34:08 +0100 Subject: [PATCH] CI: Fix failing tests for Python 3.6 because of flake8-import-order See issue https://github.com/PyCQA/flake8-import-order/issues/149 --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index c40c6bd..f27f4bb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,6 +14,9 @@ install: - pip install . script: - if [[ $TRAVIS_PYTHON_VERSION != 2.6 ]]; then flake8 .; fi + # Because of https://github.com/PyCQA/flake8-import-order/issues/149 + # otherwise tests fail with Python 3.6: + - pip uninstall --yes enum34 - yamllint --strict $(git ls-files '*.yaml' '*.yml') - coverage run --source=yamllint setup.py test - if [[ $TRAVIS_PYTHON_VERSION != 2* ]]; then