2015-03-11 00:38:37 +01:00
sudo : false
language : python
env :
2015-08-01 07:50:05 +02:00
- TOKENV=py24
2015-03-11 00:38:37 +01:00
- TOXENV=py26
- TOXENV=py27
2015-08-27 22:09:13 +02:00
- TOXENV=py34
2015-10-04 09:58:44 +02:00
- TOXENV=py35
2015-05-08 18:34:19 +02:00
addons :
apt :
sources :
- deadsnakes
2015-08-01 05:01:43 +02:00
packages :
- python2.4
2015-10-06 08:28:16 +02:00
- python3.5-dev
2015-03-11 00:38:37 +01:00
install :
2015-06-29 17:30:00 +02:00
- pip install tox PyYAML Jinja2 sphinx
2015-03-11 00:38:37 +01:00
script :
2015-09-15 16:58:52 +02:00
# urllib2's defaults are not secure enough for us
- ./test/code-smell/replace-urlopen.sh .
2015-08-01 07:50:05 +02:00
- if test x"$TOKENV" != x'py24' ; then tox ; fi
- if test x"$TOKENV" = x'py24' ; then python2.4 -V && python2.4 -m compileall -fq -x 'module_utils/(a10|rax|openstack|ec2|gce).py' lib/ansible/module_utils ; fi
2015-07-01 16:23:26 +02:00
#- make -C docsite all
2015-09-02 19:56:42 +02:00
- source ./hacking/env-setup && cd test/integration/ && make test_var_precedence
2015-03-11 00:38:37 +01:00
after_success :
- coveralls