mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-10-10 05:55:32 +00:00
Add files to run php80 tests inside a docker container
This commit is contained in:
@@ -54,7 +54,7 @@ class Test
|
||||
public static function getTestUrl($port)
|
||||
{
|
||||
if (getenv('PHP_CURL_CLASS_LOCAL_TEST') === 'yes' ||
|
||||
in_array(getenv('TRAVIS_PHP_VERSION'), array('7.0', '7.1', '7.2', '7.3', '7.4', 'nightly'))) {
|
||||
in_array(getenv('TRAVIS_PHP_VERSION'), array('7.0', '7.1', '7.2', '7.3', '7.4', '8.0', 'nightly'))) {
|
||||
return 'http://127.0.0.1:' . $port . '/';
|
||||
} else {
|
||||
return self::TEST_URL;
|
||||
|
||||
Reference in New Issue
Block a user