MDL-60978 travis: Re-enable Redis session tests
authorAndrew Nicols <andrew@nicols.co.uk>
Tue, 18 Jun 2019 04:51:02 +0000 (12:51 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Fri, 21 Jun 2019 06:36:13 +0000 (14:36 +0800)
.travis.yml

index 4c48a16..f9d2515 100644 (file)
@@ -173,7 +173,7 @@ before_script:
           -e "/require_once/i \\define('TEST_CACHESTORE_REDIS_TESTSERVERS', '127.0.0.1');" \
           config.php ;
         # Redis session tests, but not for PHP 7.2 and up. See MDL-60978 for more info.
-        redissession="if (version_compare(PHP_VERSION, '7.2.0', '<')) { define('TEST_SESSION_REDIS_HOST', '127.0.0.1'); }"
+        redissession="define('TEST_SESSION_REDIS_HOST', '127.0.0.1');"
         sed -i \
           -e "/require_once/i \\${redissession}" \
           config.php ;