mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
43a65c7de4
Becaue we can't: https://travis-ci.org/mgedmin/ansible/jobs/84866458
This reverts commit e31e866e79
.
30 lines
930 B
YAML
30 lines
930 B
YAML
sudo: false
|
|
language: python
|
|
matrix:
|
|
include:
|
|
- env: TOKENV=py24 INTEGRATION=no
|
|
- 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
|
|
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
|
|
- if test x"$INTEGRATION" = x'yes' ; then source ./hacking/env-setup && cd test/integration/ && make test_var_precedence ; fi
|
|
after_success:
|
|
- coveralls
|