Test ansible version and ping during sanity tests. (#16441)

pull/68689/head^2
Matt Clay 8 years ago committed by GitHub
parent c2a5cb6174
commit 1b29c87936

@ -15,7 +15,14 @@ if [ "${TOXENV}" = 'py24' ]; then
python2.4 -m compileall -fq -x 'module_utils/(a10|rax|openstack|ec2|gce|docker_common|azure_rm_common|vca|vmware).py' lib/ansible/module_utils
else
if [ "${install_deps}" != "" ]; then
pip install tox
pip install \
tox \
pyyaml \
jinja2 \
setuptools \
--upgrade
pip list
fi
xunit_dir="${source_root}/shippable/testresults"
@ -28,4 +35,9 @@ else
coverage_file="${coverage_dir}/nosetests-coverage.xml"
TOX_TESTENV_PASSENV=NOSETESTS NOSETESTS="nosetests --with-xunit --xunit-file='${xunit_file}' --cover-xml --cover-xml-file='${coverage_file}'" tox
source hacking/env-setup
python --version
ansible --version
ansible -m ping localhost
fi

Loading…
Cancel
Save