mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-05 01:16:15 +00:00
travis.sh: lock down PHPUnit at 7.5.11
7.5.12 makes changes which assume libxml is present, which isn't the case with our PHP builds.
This commit is contained in:
@ -22,7 +22,8 @@ if [ $? -ne 0 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
#Run PHPUnit tests
|
#Run PHPUnit tests
|
||||||
curl https://phar.phpunit.de/phpunit-7.phar --silent --location -o phpunit.phar
|
#7.5.12 introduces changes that set the build on fire because we don't ship libxml - TODO FIX
|
||||||
|
curl https://phar.phpunit.de/phpunit-7.5.11.phar --silent --location -o phpunit.phar
|
||||||
"$PHP_BINARY" phpunit.phar --bootstrap vendor/autoload.php --fail-on-warning tests/phpunit || exit 1
|
"$PHP_BINARY" phpunit.phar --bootstrap vendor/autoload.php --fail-on-warning tests/phpunit || exit 1
|
||||||
|
|
||||||
#Run-the-server tests
|
#Run-the-server tests
|
||||||
|
Reference in New Issue
Block a user