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:
Dylan K. Taylor 2019-06-14 16:58:56 +01:00
parent 3568c7b1c7
commit 5d531b56db

View File

@ -22,7 +22,8 @@ if [ $? -ne 0 ]; then
fi
#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
#Run-the-server tests