Aude has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/202999

Change subject: Use phpunit via composer instead of phpunit.phar
......................................................................

Use phpunit via composer instead of phpunit.phar

This fixes hhvm tests on travis.

For some reason, the phpunit.phar has become a problem
when used with hhvm.

Bug: T95409
Change-Id: Ia101daa70d5f46dd12af9ca3e96d2b22d00799bf
---
M build/travis/install.sh
1 file changed, 3 insertions(+), 6 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase 
refs/changes/99/202999/1

diff --git a/build/travis/install.sh b/build/travis/install.sh
index fe630d6..b1a7250 100755
--- a/build/travis/install.sh
+++ b/build/travis/install.sh
@@ -14,15 +14,13 @@
 
 cd ..
 
-wget https://github.com/wikimedia/mediawiki/archive/$MW.tar.gz
+wget https://github.com/filbertkm/mediawiki/archive/$MW.tar.gz
 tar -zxf $MW.tar.gz
 mv mediawiki-$MW phase3
 
 cd phase3
-composer install --no-dev
-wget https://phar.phpunit.de/phpunit.phar
-chmod +x phpunit.phar
-mv phpunit.phar tests/phpunit/
+composer self-update
+composer install
 
 mysql -e 'create database its_a_mw;'
 php maintenance/install.php --dbtype $DBTYPE --dbuser root --dbname its_a_mw 
--dbpath $(pwd) --pass nyan TravisWiki admin
@@ -38,5 +36,4 @@
 
 cd Wikibase
 
-composer self-update
 composer install --prefer-source

-- 
To view, visit https://gerrit.wikimedia.org/r/202999
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia101daa70d5f46dd12af9ca3e96d2b22d00799bf
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Aude <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to