2015-05-08 20:42:20 +02:00
|
|
|
sudo: false
|
|
|
|
language: python
|
2015-05-14 03:18:38 +02:00
|
|
|
python:
|
|
|
|
- "2.7"
|
2015-05-08 20:42:20 +02:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- deadsnakes
|
|
|
|
packages:
|
|
|
|
- python2.4
|
2015-05-14 03:18:38 +02:00
|
|
|
- python2.6
|
2015-10-05 19:47:45 +02:00
|
|
|
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
|
2015-05-08 20:42:20 +02:00
|
|
|
script:
|
2015-10-01 19:07:43 +02:00
|
|
|
- python2.4 -m compileall -fq -x 'cloud/|monitoring/zabbix.*\.py|/dnf\.py|/layman\.py|/maven_artifact\.py|clustering/(consul.*|znode)\.py|notification/pushbullet\.py' .
|
2015-05-14 03:18:38 +02:00
|
|
|
- python2.6 -m compileall -fq .
|
|
|
|
- python2.7 -m compileall -fq .
|
2016-02-29 16:37:51 +01:00
|
|
|
- ansible-validate-modules --exclude 'cloud/amazon/sns_topic\.py|cloud/centurylink/clc_aa_policy\.py|cloud/centurylink/clc_alert_policy\.py|cloud/centurylink/clc_blueprint_package\.py|cloud/centurylink/clc_firewall_policy\.py|cloud/centurylink/clc_group\.py|cloud/centurylink/clc_loadbalancer\.py|cloud/centurylink/clc_modify_server\.py|cloud/centurylink/clc_publicip\.py|cloud/centurylink/clc_server\.py|cloud/centurylink/clc_server_snapshot\.py|cloud/docker/docker_login\.py|messaging/rabbitmq_binding\.py|messaging/rabbitmq_exchange\.py|messaging/rabbitmq_queue\.py|monitoring/circonus_annotation\.py|network/snmp_facts\.py|notification/sns\.py' .
|
2015-07-01 16:25:02 +02:00
|
|
|
#- ./test-docs.sh extras
|