[FIX] packaging: tarball nightly test

PIL is no more en pypi. Use the external provider.
This commit is contained in:
Simon Lejeune 2015-07-15 12:03:23 +02:00
parent 94e2d99283
commit 5bbcc14d2f
1 changed files with 1 additions and 1 deletions

View File

@ -318,7 +318,7 @@ def test_tgz(o):
with docker('openerp-%s-debian-nightly-tests' % version, o.build_dir, o.pub) as wheezy:
wheezy.release = 'openerp.tar.gz'
wheezy.system("service postgresql start")
wheezy.system('pip install /opt/release/%s' % wheezy.release)
wheezy.system('pip install --allow-external PIL --allow-unverified PIL /opt/release/%s' % wheezy.release)
wheezy.system("useradd --system --no-create-home openerp")
wheezy.system('su postgres -s /bin/bash -c "createuser -s openerp"')
wheezy.system('su postgres -s /bin/bash -c "createdb mycompany"')