travis: enforce ansible-lint 4.2.0

Let's pin to 4.2.0

(because of ansible/ansible-lint/issues/966)

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
pull/5683/head
Guillaume Abrioux 2020-08-18 15:37:08 +02:00 committed by Dimitri Savineau
parent 093e1dcb21
commit 04d77dcaeb
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/ webhooks: https://galaxy.ansible.com/api/v1/notifications/
install: install:
- pip install -r tests/requirements.txt - pip install -r tests/requirements.txt
- pip install ansible-lint pytest-cov - pip install ansible-lint==4.2.0 pytest-cov
script: script:
- if [[ -n $(grep --exclude-dir=.git -P "\xa0" -r .) ]]; then echo 'NBSP characters found'; exit 1; fi - if [[ -n $(grep --exclude-dir=.git -P "\xa0" -r .) ]]; then echo 'NBSP characters found'; exit 1; fi
- pytest --cov=library/ --cov=plugins/filter/ -vvvv tests/library/ tests/plugins/filter/ - pytest --cov=library/ --cov=plugins/filter/ -vvvv tests/library/ tests/plugins/filter/