2015-03-10 23:38:37 +00:00
sudo : false
language : python
2015-10-12 06:21:24 +00:00
matrix :
include :
2015-10-13 06:17:57 +00:00
- env : TOXENV=py24 INTEGRATION=no
2015-10-12 06:21:24 +00:00
- env : TOXENV=py26 INTEGRATION=yes
python : 2.6
- env : TOXENV=py27 INTEGRATION=yes
python : 2.7
- env : TOXENV=py34 INTEGRATION=no
python : 3.4
- env : TOXENV=py35 INTEGRATION=no
python : 3.5
2015-05-08 16:34:19 +00:00
addons :
apt :
sources :
- deadsnakes
2015-08-01 03:01:43 +00:00
packages :
- python2.4
2015-03-10 23:38:37 +00:00
install :
2015-06-29 15:30:00 +00:00
- pip install tox PyYAML Jinja2 sphinx
2015-03-10 23:38:37 +00:00
script :
2015-09-15 14:58:52 +00:00
# urllib2's defaults are not secure enough for us
- ./test/code-smell/replace-urlopen.sh .
2015-10-13 06:17:57 +00:00
- if test x"$TOXENV" != x'py24' ; then tox ; fi
- if test x"$TOXENV" = 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 14:23:26 +00:00
#- make -C docsite all
2015-10-12 06:21:24 +00:00
- if test x"$INTEGRATION" = x'yes' ; then source ./hacking/env-setup && cd test/integration/ && make test_var_precedence ; fi
2015-03-10 23:38:37 +00:00
after_success :
- coveralls