This used to work with 1.26+ [0], now on MW-master it just throws [1]:
CREATE DATABASE +php maintenance/install.php --dbtype postgres --dbuser postgres --dbname its_a_mw --pass nyan TravisWiki admin --scriptpath /TravisWiki PHP 5.5.38 is installed. Warning: Could not find APCu, XCache or WinCache. Object caching is not enabled. Found ImageMagick: /usr/bin/convert. Image thumbnailing will be enabled if you enable uploads. Found the Git version control software: /usr/bin/git. Using server URL "/TravisWiki". Warning: Your default directory for uploads (/home/travis/build/SemanticMediaWiki/mw/images/) is not checked for vulnerability to arbitrary script execution during the CLI install. Using the intl PECL extension for Unicode normalization. The environment has been checked. You can install MediaWiki. Setting up database done Checking for language PL/pgSQL done Creating schema done Creating tables PHP Fatal error: Call to undefined method DatabasePostgres::getSchemaPath() in /home/travis/build/SemanticMediaWiki/mw/includes/installer/PostgresInstaller.php on line 609 PHP Stack trace: PHP 1. {main}() /home/travis/build/SemanticMediaWiki/mw/maintenance/install.php:0 PHP 2. require_once() /home/travis/build/SemanticMediaWiki/mw/maintenance/install.php:156 PHP 3. CommandLineInstaller->execute() /home/travis/build/SemanticMediaWiki/mw/maintenance/doMaintenance.php:110 PHP 4. CliInstaller->execute() /home/travis/build/SemanticMediaWiki/mw/maintenance/install.php:142 PHP 5. Installer->performInstallation() /home/travis/build/SemanticMediaWiki/mw/includes/installer/CliInstaller.php:136 PHP 6. call_user_func:{/home/travis/build/SemanticMediaWiki/mw/includes/installer/Installer.php:1515}() /home/travis/build/SemanticMediaWiki/mw/includes/installer/Installer.php:1515 PHP 7. PostgresInstaller->createTables() /home/travis/build/SemanticMediaWiki/mw/includes/installer/Installer.php:1515 Fatal error: Call to undefined method DatabasePostgres::getSchemaPath() in /home/travis/build/SemanticMediaWiki/mw/includes/installer/PostgresInstaller.php on line 609 Call Stack: 0.0003 283432 1. {main}() /home/travis/build/SemanticMediaWiki/mw/maintenance/install.php:0 0.0027 743736 2. require_once('/home/travis/build/SemanticMediaWiki/mw/maintenance/doMaintenance.php') /home/travis/build/SemanticMediaWiki/mw/maintenance/install.php:156 0.0727 12287376 3. CommandLineInstaller->execute() /home/travis/build/SemanticMediaWiki/mw/maintenance/doMaintenance.php:110 0.2881 24001600 4. CliInstaller->execute() /home/travis/build/SemanticMediaWiki/mw/maintenance/install.php:142 0.2881 24002776 5. Installer->performInstallation() /home/travis/build/SemanticMediaWiki/mw/includes/installer/CliInstaller.php:136 0.3210 24453712 6. call_user_func:{/home/travis/build/SemanticMediaWiki/mw/includes/installer/Installer.php:1515}() /home/travis/build/SemanticMediaWiki/mw/includes/installer/Installer.php:1515 0.3210 24454048 7. PostgresInstaller->createTables() /home/travis/build/SemanticMediaWiki/mw/includes/installer/Installer.php:1515
Did anyone test this before merging? Its the third time in two weeks that a Database related issue is blocking our integration tests.
[0] https://travis-ci.org/SemanticMediaWiki/SemanticMediaWiki/jobs/168044751
[1] https://travis-ci.org/SemanticMediaWiki/SemanticMediaWiki/jobs/168056742