2019-07-30 21:11:04 +00:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
|
|
|
import ci_lib
|
|
|
|
|
|
|
|
batches = [
|
|
|
|
[
|
|
|
|
# Must be installed separately, as PyNACL indirect requirement causes
|
|
|
|
# newer version to be installed if done in a single pip run.
|
2020-04-24 21:10:00 +00:00
|
|
|
# Separately install ansible based on version passed in from azure-pipelines.yml or .travis.yml
|
2020-10-03 22:35:28 +00:00
|
|
|
# Don't set -U as that will upgrade Paramiko to a non-2.6 compatible version.
|
2020-09-20 22:40:07 +00:00
|
|
|
'pip install "pycparser<2.19" "idna<2.7" virtualenv',
|
2019-07-30 21:11:04 +00:00
|
|
|
'pip install '
|
|
|
|
'-r tests/requirements.txt '
|
|
|
|
'-r tests/ansible/requirements.txt',
|
2020-10-03 22:35:28 +00:00
|
|
|
'pip install -q ansible=={}'.format(ci_lib.ANSIBLE_VERSION)
|
2019-07-30 21:11:04 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
|
|
|
|
ci_lib.run_batches(batches)
|