use --prefer-source for composer travis
authoraddshore <addshorewiki@gmail.com>
Thu, 27 Feb 2014 13:34:23 +0000 (14:34 +0100)
committeraddshore <addshorewiki@gmail.com>
Thu, 27 Feb 2014 13:34:23 +0000 (14:34 +0100)
This will avoid composer transport exceptions
which happen when travis hits the github api
too much

Change-Id: I3c7b209d9e4181dd1393f4e9f93587d05828bb4e

.travis.yml

index 84fa456..8a1ae80 100644 (file)
@@ -29,7 +29,7 @@ before_script:
   # Travis CI's HHVM environment provides PHPUnit as a phar file, but
   # MediaWiki's test suite only works if individual PHPUnit files are
   # actual files on disk (bug 58881).
-  - composer require 'phpunit/phpunit=3.7.*'
+  - composer require 'phpunit/phpunit=3.7.*'  --prefer-source
   - >
       php maintenance/install.php testwiki admin
       --pass travis