Contributors mailing list archives
Re: Install postgres unaccent lib at travis ymlby
Open for Small Business, Graeme Gellatly
If you find the travis file for the repo with base search fuzzy it should show you. It use pg trigram which is installed in the same way as unaccent.
On Thu, 2 Dec 2021, 8:31 am Vincent Lucy, <email@example.com> wrote:
connect to your postgresql db :psq -U psql_user psql_db
list the extensions installed:\dx
You should not see unaccent.
Then this commands:
DROP FUNCTION unaccent;
CREATE EXTENSION IF NOT EXISTS \"unaccent\";
list again the extensions installed:\dx
restart odoo with the config line:
unaccent = True
That should work.
De : Luiz Felipe Divino <firstname.lastname@example.org>
Envoyé : mardi 30 novembre 2021 21:07
À : Contributors <email@example.com>
Objet : Install postgres unaccent lib at travis ymlHello Everyone!
I'm developing a Pull Request at Brazilian location (l10n-brazil) and I'm getting error at some Travis jobs because we need that our Postgres database has the unaccent lib installed.
My Travis build is:
Could anyone help me on how to set this unaccent lib in my Travis yml configuration?
Thanks for your help!
Luiz Felipe do Divino
Bacharel em Ciências da ComputaçãoUNIFEI - Itajubá