Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96161a7
)
MDL-60978 travis: Re-enable Redis session tests
author
Andrew Nicols
<andrew@nicols.co.uk>
Tue, 18 Jun 2019 04:51:02 +0000
(12:51 +0800)
committer
Andrew Nicols
<andrew@nicols.co.uk>
Fri, 21 Jun 2019 06:36:13 +0000
(14:36 +0800)
.travis.yml
patch
|
blob
|
blame
|
history
diff --git
a/.travis.yml
b/.travis.yml
index
4c48a16
..
f9d2515
100644
(file)
--- a/
.travis.yml
+++ b/
.travis.yml
@@
-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 ;