[FIX] packaging: tarball nightly test

This reverts commit 5bbcc14d2f and allow
to use the pil from debian's "python-pil" by telling pip to not install
the dependencies
This commit is contained in:
Simon Lejeune 2015-07-15 15:34:14 +02:00
parent 8ea4bf81f7
commit e9403a7ab7
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 --allow-external PIL --allow-unverified PIL /opt/release/%s' % wheezy.release)
wheezy.system('pip install --no-deps /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"')