diff --git a/.travis.yml b/.travis.yml index 7bc1927cf6..db16de7929 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: diff --git a/doc/test-cli.php b/doc/test-cli.php index f196bf8750..38d138f1ae 100755 --- a/doc/test-cli.php +++ b/doc/test-cli.php @@ -12,7 +12,7 @@ if (php_sapi_name() !== 'cli') // security precaution: forbit calling as web-pag die('