[travis] Test with hhvm 3.18

This commit is contained in:
Nicolas Grekas 2017-03-08 10:04:21 +01:00
parent bdebb713c4
commit 7f1f0cb630
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ env:
matrix:
include:
# Use the newer stack for HHVM as HHVM does not support Precise anymore since a long time and so Precise has an outdated version
- php: hhvm-3.15
- php: hhvm-3.18
sudo: required
dist: trusty
group: edge

View File

@ -25,7 +25,7 @@ class WebTestCase extends BaseWebTestCase
protected static function deleteTmpDir($testCase)
{
if (!file_exists($dir = sys_get_temp_dir().'/'.Kernel::VERSION.'/'.$testCase)) {
if (defined('HHVM_VERSION_ID') || !file_exists($dir = sys_get_temp_dir().'/'.Kernel::VERSION.'/'.$testCase)) {
return;
}