Add mitogen and enable pipelining in tests.

This commit is contained in:
Mikhail Konyakhin 2019-12-21 15:53:21 +03:00
parent 56af8c7e9b
commit 6a38960fe6

View File

@ -12,7 +12,14 @@ set -o errexit
set -o pipefail
# Latest Ansible install
pip install docker ansible
pip install docker ansible mitogen
cat << EOF > ansible.cfg
[defaults]
pipelining = True
strategy = mitogen_linear
strategy_plugins = /home/travis/virtualenv/python2.7.15/lib/python2.7/site-packages/ansible_mitogen/plugins/strategy
EOF
# Pull docker image or build it
if [ -f tests/Dockerfile.${DISTRIBUTION}_${DIST_VERSION} ]