ansible/.travis.yml

25 lines
671 B
YAML
Raw Normal View History

sudo: false
language: python
env:
2015-08-01 05:50:05 +00:00
- TOKENV=py24
- TOXENV=py26
- TOXENV=py27
- TOXENV=py34
addons:
apt:
sources:
- deadsnakes
packages:
- python2.4
install:
2015-06-29 15:30:00 +00:00
- pip install tox PyYAML Jinja2 sphinx
script:
# urllib2's defaults are not secure enough for us
- ./test/code-smell/replace-urlopen.sh .
2015-08-01 05:50:05 +00: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 14:23:26 +00:00
#- make -C docsite all
- source ./hacking/env-setup && cd test/integration/ && make test_var_precedence
after_success:
- coveralls