.travis.yml
3d67e9e0
 sudo: false
 language: python
29202454
 matrix:
   include:
9802c006
     - env: TOXENV=py24 INTEGRATION=no
29202454
     - 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
a0fc8bb0
 addons:
   apt:
     sources:
       - deadsnakes
13b8a57d
     packages:
       - python2.4
3d67e9e0
 install:
d6128381
   - pip install tox PyYAML Jinja2 sphinx
3d67e9e0
 script:
3db8070a
 # urllib2's defaults are not secure enough for us
 - ./test/code-smell/replace-urlopen.sh .
a22cf8ff
 - ./test/code-smell/use-compat-six.sh lib
 - ./test/code-smell/boilerplate.sh
9802c006
 - 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
a155f65a
   #- make -C docsite all
ed6aa75d
 - if test x"$INTEGRATION" = x'yes' ; then source ./hacking/env-setup && cd test/integration/ && make parsing && make test_var_precedence && make unicode ; fi
3d67e9e0
 after_success:
   - coveralls