Add support for checking module on python3, like on core (#2235)

This commit is contained in:
Michael Scherer 2016-05-17 19:32:14 +02:00 committed by Toshio Kuratomi
parent e91848dfd5
commit 7e97b2131b

View file

@ -9,6 +9,7 @@ addons:
packages: packages:
- python2.4 - python2.4
- python2.6 - python2.6
- python3.5
before_install: before_install:
- git config user.name "ansible" - git config user.name "ansible"
- git config user.email "ansible@ansible.com" - git config user.email "ansible@ansible.com"
@ -20,5 +21,7 @@ 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|database/influxdb/influxdb.*\.py' . - python2.4 -m compileall -fq -x 'cloud/|monitoring/zabbix.*\.py|/dnf\.py|/layman\.py|/maven_artifact\.py|clustering/(consul.*|znode)\.py|notification/pushbullet\.py|database/influxdb/influxdb.*\.py' .
- python2.6 -m compileall -fq . - python2.6 -m compileall -fq .
- python2.7 -m compileall -fq . - python2.7 -m compileall -fq .
- python3.4 -m compileall -fq system/at.py
- python3.5 -m compileall -fq system/at.py
- ansible-validate-modules . - ansible-validate-modules .
#- ./test-docs.sh extras #- ./test-docs.sh extras