diff --git a/dev/tests/integration/testsuite/Magento/Phpserver/PhpserverTest.php b/dev/tests/integration/testsuite/Magento/Phpserver/PhpserverTest.php index 9e04b450fa202..1ca0e4e20f369 100644 --- a/dev/tests/integration/testsuite/Magento/Phpserver/PhpserverTest.php +++ b/dev/tests/integration/testsuite/Magento/Phpserver/PhpserverTest.php @@ -17,11 +17,13 @@ */ class PhpserverTest extends \PHPUnit\Framework\TestCase { - - const BASE_URL = '127.0.0.1:8082'; + const BASE_URL = '127.0.0.1:8082'; private static $serverPid; + /** + * @var \Zend\Http\Client + */ private $httpClient; /** @@ -29,9 +31,12 @@ class PhpserverTest extends \PHPUnit\Framework\TestCase */ public static function setUpBeforeClass() { + if (!(defined('TRAVIS') && TRAVIS === true)) { + self::markTestSkipped('Travis environment test'); + } $return = []; - $baseDir = __DIR__.'/../../../../../../'; + $baseDir = __DIR__ . '/../../../../../../'; $command = sprintf( 'cd %s && php -S %s -t ./pub/ ./phpserver/router.php >/dev/null 2>&1 & echo $!', $baseDir,