aboutsummaryrefslogtreecommitdiffstats
path: root/autotest.sh
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-05-02 12:44:54 -0300
committerMorris Jobke <hey@morrisjobke.de>2017-05-02 15:55:42 -0300
commitecb369b5e81fb1a7ba3a91599dd70e907226aa88 (patch)
tree7d96b14795896f817ca96ea8a02d76255c070461 /autotest.sh
parent705483e7123e2e2da6421d7f02c4a5b899cade3d (diff)
downloadnextcloud-server-ecb369b5e81fb1a7ba3a91599dd70e907226aa88.tar.gz
nextcloud-server-ecb369b5e81fb1a7ba3a91599dd70e907226aa88.zip
Add redis support to our CI jobs
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'autotest.sh')
-rwxr-xr-xautotest.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/autotest.sh b/autotest.sh
index 584b5dc0bd8..fa15597bd55 100755
--- a/autotest.sh
+++ b/autotest.sh
@@ -143,6 +143,10 @@ function cleanup_config {
if [ -f config/autotest-storage-swift.config.php ]; then
rm config/autotest-storage-swift.config.php
fi
+ # Remove autotest redis config
+ if [ -f config/redis.config.php ]; then
+ rm config/redis.config.php
+ fi
# Remove mysqlmb4.config.php
rm -f config/mysqlmb4.config.php
}
@@ -178,6 +182,10 @@ function execute_tests {
fi
cp tests/preseed-config.php config/config.php
+ if [ "$ENABLE_REDIS" == "true" ] ; then
+ cp tests/redis.config.php config/redis.config.php
+ fi
+
_DB=$DB
# drop database