You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
616 B
Python
31 lines
616 B
Python
#!/usr/bin/env python
|
|
|
|
import os
|
|
import sys
|
|
|
|
import ci_lib
|
|
|
|
batches = []
|
|
|
|
if ci_lib.have_apt():
|
|
batches.append([
|
|
'echo force-unsafe-io | sudo tee /etc/dpkg/dpkg.cfg.d/nosync',
|
|
'sudo add-apt-repository ppa:deadsnakes/ppa',
|
|
'sudo apt-get update',
|
|
'sudo apt-get -y install python2.6 python2.6-dev libsasl2-dev libldap2-dev',
|
|
])
|
|
|
|
|
|
#batches.append([
|
|
#'pip install -r dev_requirements.txt',
|
|
#])
|
|
|
|
if ci_lib.have_docker():
|
|
batches.extend(
|
|
['docker pull %s' % (ci_lib.image_for_distro(distro),)]
|
|
for distro in ci_lib.DISTROS
|
|
)
|
|
|
|
|
|
ci_lib.run_batches(batches)
|