From e341e2596e8a61495da81a811910a104fb473392 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 6 Aug 2016 11:56:23 +0200 Subject: [PATCH] looks like /usr/bin/php in our Travis enviroment is hhvm even for php builds and that seems to miss pgsql extension --- .travis.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index ddd2939581..1b2d84387c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -71,14 +71,12 @@ script: # install egroupware (PostgreSQL need some specific handling as it is not the default and we can not create users via sql) - case $DB in postgres) - /usr/bin/php --version; - `which php`; psql -U postgres -c 'create database egroupware'; - php doc/rpm-build/post_install.php --db_type pgsql --db_port 5432 --db_user postgres --db_pass '' + php doc/rpm-build/post_install.php --php `which php` --db_type pgsql --db_port 5432 --db_user postgres --db_pass '' --source_dir `pwd` --start_db '' --autostart_db '' --start_webserver '' --webserver_user '' ;; *) - php doc/rpm-build/post_install.php + php doc/rpm-build/post_install.php --php `which php` --source_dir `pwd` --start_db '' --autostart_db '' --start_webserver '' --webserver_user '' ;; esac