From 3992ce127e9b65ae37a05f2841335c5f94929e91 Mon Sep 17 00:00:00 2001 From: Matt Martz Date: Mon, 5 Oct 2015 12:47:45 -0500 Subject: [PATCH] Use ansible-testing project to validate basic module requirements --- lib/ansible/modules/extras/.travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/ansible/modules/extras/.travis.yml b/lib/ansible/modules/extras/.travis.yml index c2583d592fc..466ebc1472d 100644 --- a/lib/ansible/modules/extras/.travis.yml +++ b/lib/ansible/modules/extras/.travis.yml @@ -9,8 +9,12 @@ addons: packages: - python2.4 - python2.6 +install: + - pip install git+https://github.com/ansible/ansible.git@devel#egg=ansible + - pip install git+https://github.com/sivel/ansible-testing.git#egg=ansible_testing script: - python2.4 -m compileall -fq -x 'cloud/|monitoring/zabbix.*\.py|/dnf\.py|/layman\.py|/maven_artifact\.py|clustering/(consul.*|znode)\.py|notification/pushbullet\.py' . - python2.6 -m compileall -fq . - python2.7 -m compileall -fq . + - ansible-validate-modules --exclude 'cloud/amazon/route53_zone\.py|network/snmp_facts\.py|notification/sns\.py|windows/win_iis_virtualdirectory\.py' . #- ./test-docs.sh extras