Page MenuHomePhabricator

Jenkins: Use phpunit from deployment system (srv/deployment/integration/phpunit) instead of local pear install
Closed, ResolvedPublic


We are now deploying PHPUnit using our own deployment system (bug 54762), that let us update it easily using integration/phpunit.git as a source.

Now we need our phpunit.php calls to use --with-phpunitdir option, aka:

php phpunit.php --with-phpunitdir /contint-phpunit/vendor/phpunit/phpunit

And that would use a more recent PHPUnit version, more importantly, that would let us run PHPUnit job on slaves.

Version: wmf-deployment
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:17 AM
bzimport set Reference to bz56317.
hashar created this task.Oct 29 2013, 3:27 PM

MediaWiki core migrated to use the composer install by changing the shell wrapper:

Job to validate the setup (SUCCESS):

Change-Id for reference is I8651f2fb0e09d4e868c2139b5a7d1b640de61784

Extension validated with mwext-Wikibase-client-tests by retriggering a build. Successful result at

Change 92624 had a related patch set uploaded by Hashar:
mw coverage points to PHPUnit deployed by WMF deployment system

Change 92624 merged by jenkins-bot:
mw coverage points to PHPUnit deployed by WMF deployment system

Nothing left to do, that will let us roam the tests on any slaves having PHPUnit \O/