summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 6fb5198dc96a2fac4a48f05e198e7cfe788283a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
sudo: false
language: python
env:
  - TOKENV=py24
  - TOXENV=py26
  - TOXENV=py27
  - TOXENV=py34
addons:
  apt:
    sources:
      - deadsnakes
    packages:
      - python2.4
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