File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -482,6 +482,10 @@ public function testPostRedirectGetReuseObjectIncompatibleEngine()
482482 $ this ->markTestSkipped ();
483483 }
484484
485+ if (getenv ('TRAVIS_PHP_VERSION ' ) === 'hhvm-nightly ' ) {
486+ $ this ->markTestSkipped ();
487+ }
488+
485489 try {
486490 // Follow 303 redirection with POST
487491 $ test = new Test ();
Original file line number Diff line number Diff line change 9595 root=" ${script_dir} /PHPCurlClass"
9696 sudo cp -v " ${root} /" * " /usr/share/nginx/html/"
9797
98- phpunit_shim
99-
10098 # Use an older version of PHPUnit for HHVM builds so that unit tests can be
10199 # started. HHVM 3.18 (PHP_VERSION=PHP 5.6.99-hhvm) is the last version to
102100 # run on Trusty yet PHPUnit 6 requires PHP 7.0 or PHP 7.1.
103101 # Avoids error:
104102 # This version of PHPUnit is supported on PHP 7.0 and PHP 7.1.
105103 # You are using PHP 5.6.99-hhvm (/usr/bin/hhvm).
106- composer require phpunit/phpunit:5.7.*
104+ if [[ " ${TRAVIS_PHP_VERSION} " == " hhvm" ]]; then
105+ phpunit_shim
106+ composer require phpunit/phpunit:5.7.*
107+ fi
107108elif [[ " ${TRAVIS_PHP_VERSION} " == " nightly" ]]; then
108109 php -S 127.0.0.1:8000 -t tests/PHPCurlClass/ &
109110fi
You can’t perform that action at this time.
0 commit comments