mirror of
https://github.com/adrienverge/yamllint.git
synced 2025-02-25 18:55:20 -06:00
CI: Fix failing tests for Python 3.6 because of flake8-import-order
See issue https://github.com/PyCQA/flake8-import-order/issues/149
This commit is contained in:
parent
22e792a433
commit
8b9eab33bf
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user