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
|
2016-05-17 19:32:14 +02:00
|
|
|
- python3.5
|
2016-04-01 20:28:25 +02:00
|
|
|
before_install:
|
|
|
|
- git config user.name "ansible"
|
|
|
|
- git config user.email "ansible@ansible.com"
|
|
|
|
- if [[ "$TRAVIS_PULL_REQUEST" != "false" ]]; then git rebase $TRAVIS_BRANCH; fi;
|
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:
|
2016-04-12 14:56:46 +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|database/influxdb/influxdb.*\.py' .
|
2015-05-14 03:18:38 +02:00
|
|
|
- python2.6 -m compileall -fq .
|
|
|
|
- python2.7 -m compileall -fq .
|
2016-05-17 19:39:47 +02:00
|
|
|
- python3.4 -m compileall -fq system/at.py cloud/vmware cloud/lxc
|
|
|
|
- python3.5 -m compileall -fq system/at.py cloud/vmware cloud/lxc
|
2016-05-06 21:02:23 +02:00
|
|
|
- ansible-validate-modules .
|
2015-07-01 16:25:02 +02:00
|
|
|
#- ./test-docs.sh extras
|