mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 04:17:07 +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:
parent
3568c7b1c7
commit
5d531b56db
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user