forked from extern/egroupware
fix Travis stalls on #!/usr/bin/env in test-cli.php
This commit is contained in:
parent
a74bba01e6
commit
918548665d
@ -38,7 +38,8 @@ before_script:
|
||||
|
||||
script:
|
||||
- ./doc/php_syntax_check.sh
|
||||
- ./doc/test-cli.php
|
||||
# Ubuntu has problems with #!/usr/bin/evn php, it stalls forever
|
||||
- php -dapc.enable_cli=1 doc/test-cli.php
|
||||
|
||||
cache:
|
||||
directories:
|
||||
|
@ -12,7 +12,7 @@ if (php_sapi_name() !== 'cli') // security precaution: forbit calling as web-pag
|
||||
die('<h1>test-cli.php must NOT be called as web-page --> exiting !!!</h1>');
|
||||
}
|
||||
|
||||
require_once './api/src/loader/common.php';
|
||||
require_once dirname(__DIR__).'/api/src/loader/common.php';
|
||||
|
||||
$_SERVER['argv'][] = '--verbose';
|
||||
$_SERVER['argv'][] = 'EgroupwareTestRunner';
|
||||
|
Loading…
Reference in New Issue
Block a user