Continuous integration/Legacy server

The Wikimedia continuous integration server is a virtual box that runs CruiseControl + phpUnderControl continuous integration builds. It is located at .

Using
Any user can start a new build by navigating to  (accessible by clicking on phpUnderControl logo) and clicking on the run button. In case of failed builds codurr will post a rant to #mediawiki IRC channel.

For server admins
The CC configuration is maintained at . At the moment CC is not configured to automatically update it from SVN, so you need to manually change it at /home/ci/cruisecontrol-bin-2.8.3/. To make it catch changes in build.xml, you may need to run sudo -u ci ant

Extension tests
Any extension hosted in our SVN can be included into tests. Currently tested extensions are listed here.

MediaWiki provides extensions with two ways of extending core tests, both of which can be used:
 * $wgParserTestFiles - convenient for extensions that extend wikitext syntax.
 * UnitTestsList hook for extensions that use PHPUnit.

Technical details:
 * Extensions must support installation by simply requireing its setup file in LocalSettings.php.
 * If the extension needs to setup extra DB tables, it should be possible to perform with maintenance/update.php (use the LoadExtensionSchemaUpdates hook).
 * Extensions should support SQLite which is used on the server. If extra tables are needed for normal operation, but not for tests, extensions should take care to at least not break update.php.
 * Extensions should support running tests when not under extensions/ directory in MediaWiki installation root.