travis: run modules unit tests

Travis now runs our modules unit tests to make sure they always pass.

Signed-off-by: Sébastien Han <seb@redhat.com>
pull/3375/head
Sébastien Han 2018-11-16 10:57:14 +01:00 committed by Guillaume Abrioux
parent a0e5ef8516
commit bd98193ce4
1 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,8 @@ notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/
install:
- pip install -r requirements.txt
- pip install ansible-lint
- pip install ansible-lint pytest
- git clone https://github.com/ansible/galaxy-lint-rules
script:
- pytest -vvvv library/
- for i in $(ls -1 roles/); do ansible-lint -x 204 -v -r galaxy-lint-rules/rules roles/$i/ ; done