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()
482
482
$ this ->markTestSkipped ();
483
483
}
484
484
485
+ if (getenv ('TRAVIS_PHP_VERSION ' ) === 'hhvm-nightly ' ) {
486
+ $ this ->markTestSkipped ();
487
+ }
488
+
485
489
try {
486
490
// Follow 303 redirection with POST
487
491
$ test = new Test ();
Original file line number Diff line number Diff line change 95
95
root=" ${script_dir} /PHPCurlClass"
96
96
sudo cp -v " ${root} /" * " /usr/share/nginx/html/"
97
97
98
- phpunit_shim
99
-
100
98
# Use an older version of PHPUnit for HHVM builds so that unit tests can be
101
99
# started. HHVM 3.18 (PHP_VERSION=PHP 5.6.99-hhvm) is the last version to
102
100
# run on Trusty yet PHPUnit 6 requires PHP 7.0 or PHP 7.1.
103
101
# Avoids error:
104
102
# This version of PHPUnit is supported on PHP 7.0 and PHP 7.1.
105
103
# 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
107
108
elif [[ " ${TRAVIS_PHP_VERSION} " == " nightly" ]]; then
108
109
php -S 127.0.0.1:8000 -t tests/PHPCurlClass/ &
109
110
fi
You can’t perform that action at this time.
0 commit comments