ansible/.travis.yml
2015-10-06 09:28:16 +03:00

26 lines
709 B
YAML

sudo: false
language: python
env:
- TOKENV=py24
- TOXENV=py26
- TOXENV=py27
- TOXENV=py34
- TOXENV=py35
addons:
apt:
sources:
- deadsnakes
packages:
- python2.4
- python3.5-dev
install:
- pip install tox PyYAML Jinja2 sphinx
script:
# urllib2's defaults are not secure enough for us
- ./test/code-smell/replace-urlopen.sh .
- 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
#- make -C docsite all
- source ./hacking/env-setup && cd test/integration/ && make test_var_precedence
after_success:
- coveralls