Skip to content

Commit

Permalink
MDL-60978 travis: Re-enable Redis session tests
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols committed Jun 21, 2019
1 parent 866f014 commit 0703eec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 ;
Expand Down

0 comments on commit 0703eec

Please sign in to comment.