]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
travis: run modules unit tests
authorSébastien Han <seb@redhat.com>
Fri, 16 Nov 2018 09:57:14 +0000 (10:57 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Mon, 3 Dec 2018 13:39:43 +0000 (14:39 +0100)
Travis now runs our modules unit tests to make sure they always pass.

Signed-off-by: Sébastien Han <seb@redhat.com>
.travis.yml

index a9323e8ea47e191fbcf310affff84864719f2292..4495353bfabc001cf891f474e1abb30814506909 100644 (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
\ No newline at end of file