mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
running matrix of two DB enviroments and try fixing escaping problems of empty args
This commit is contained in:
parent
6a419e77f8
commit
659b4f8dde
18
.travis.yml
18
.travis.yml
@ -13,8 +13,9 @@ matrix:
|
|||||||
|
|
||||||
# test installation and run all tests with these databases
|
# test installation and run all tests with these databases
|
||||||
env:
|
env:
|
||||||
-DB=mysql
|
matrix:
|
||||||
-DB=postgres
|
- DB=mysql
|
||||||
|
- DB=postgres
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- memcached
|
- memcached
|
||||||
@ -69,9 +70,16 @@ before_script:
|
|||||||
|
|
||||||
script:
|
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)
|
||||||
- test "$DB" = "postgres" && DB_SPECIFIC="--db_type postgres --db_port 5432 --db_user postgres --db_pass '' --db_root postgres --db_root_pw ''" || true
|
- case $DB in
|
||||||
- php doc/rpm-build/post_install.php $DB_SPECIFIC
|
postgres)
|
||||||
--source_dir `pwd` --start_db '' --autostart_db '' --start_webserver '' --webserver_user ''
|
php doc/rpm-build/post_install.php --db_type postgres --db_port 5432 --db_user postgres --db_pass '' --db_root postgres --db_root_pw ''
|
||||||
|
--source_dir `pwd` --start_db '' --autostart_db '' --start_webserver '' --webserver_user ''
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
php doc/rpm-build/post_install.php
|
||||||
|
--source_dir `pwd` --start_db '' --autostart_db '' --start_webserver '' --webserver_user ''
|
||||||
|
;;
|
||||||
|
esac
|
||||||
#- mysql -uroot -e 'show tables' egroupware
|
#- mysql -uroot -e 'show tables' egroupware
|
||||||
# Ubuntu has problems with #!/usr/bin/env php -dapc.enable=1, it stalls forever
|
# Ubuntu has problems with #!/usr/bin/env php -dapc.enable=1, it stalls forever
|
||||||
- php -dapc.enable_cli=1 doc/test-cli.php
|
- php -dapc.enable_cli=1 doc/test-cli.php
|
||||||
|
Loading…
Reference in New Issue
Block a user