mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-09-07 08:56:55 +00:00
Use an older version of PHPUnit for HHVM builds
This commit is contained in:
@@ -91,6 +91,14 @@ EOF
|
||||
sleep 5
|
||||
sudo service nginx start
|
||||
phpunit_shim
|
||||
|
||||
# Use an older version of PHPUnit for HHVM builds so that unit tests can be
|
||||
# started. HHVM 3.18 (PHP_VERSION=PHP 5.6.99-hhvm) is the last version to
|
||||
# run on Trusty yet PHPUnit 6 requires PHP 7.0 or PHP 7.1.
|
||||
# Avoids error:
|
||||
# This version of PHPUnit is supported on PHP 7.0 and PHP 7.1.
|
||||
# You are using PHP 5.6.99-hhvm (/usr/bin/hhvm).
|
||||
composer require phpunit/phpunit:5.7
|
||||
elif [[ "${TRAVIS_PHP_VERSION}" == "nightly" ]]; then
|
||||
php -S 127.0.0.1:8000 -t tests/PHPCurlClass/ &
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user