check php = /usr/bin/php in Travis

This commit is contained in:
Ralf Becker 2016-08-06 11:43:23 +02:00
parent ee468f40ff
commit 3367522508

View File

@ -71,6 +71,8 @@ script:
# install egroupware (PostgreSQL need some specific handling as it is not the default and we can not create users via sql) # install egroupware (PostgreSQL need some specific handling as it is not the default and we can not create users via sql)
- case $DB in - case $DB in
postgres) postgres)
/usr/bin/php --version;
`which php`;
psql -U postgres -c 'create database egroupware'; 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 --db_type pgsql --db_port 5432 --db_user postgres --db_pass ''
--source_dir `pwd` --start_db '' --autostart_db '' --start_webserver '' --webserver_user '' --source_dir `pwd` --start_db '' --autostart_db '' --start_webserver '' --webserver_user ''