tests: don't run MODE=ansible against localhost on Travis

pull/193/head
David Wilson 7 years ago
parent 5de72d378f
commit 44f09a9912

@ -26,21 +26,20 @@ pip install -U ansible=="${ANSIBLE_VERSION}"
cd ${TRAVIS_BUILD_DIR}/tests/ansible cd ${TRAVIS_BUILD_DIR}/tests/ansible
cat >> ${TMPDIR}/hosts <<-EOF cat >> ${TMPDIR}/hosts <<-EOF
localhost
target ansible_connection=docker ansible_python_interpreter=/usr/bin/python2.7 target ansible_connection=docker ansible_python_interpreter=/usr/bin/python2.7
EOF EOF
echo travis_fold:end:job_setup echo travis_fold:end:job_setup
echo travis_fold:start:mitogen_linear echo travis_fold:start:mitogen_linear
ANSIBLE_STRATEGY=mitogen_linear /usr/bin/time ansible-playbook \ /usr/bin/time ./mitogen_ansible_playbook.sh \
integration/all.yml \ integration/all.yml \
-i "${TMPDIR}/hosts" -i "${TMPDIR}/hosts"
echo travis_fold:end:mitogen_linear echo travis_fold:end:mitogen_linear
echo travis_fold:start:vanilla_ansible echo travis_fold:start:vanilla_ansible
/usr/bin/time ansible-playbook \ /usr/bin/time ./run_ansible_playbook.sh \
integration/all.yml \ integration/all.yml \
-i "${TMPDIR}/hosts" -i "${TMPDIR}/hosts"
echo travis_fold:end:vanilla_ansible echo travis_fold:end:vanilla_ansible

Loading…
Cancel
Save