Addshore has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/90346


Change subject: Only install using prefix on mysql..
......................................................................

Only install using prefix on mysql..

Change-Id: I4e0e424e007fcc03743efef9707ee9195848367b
---
M .travis.sh
1 file changed, 7 insertions(+), 1 deletion(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/WikibaseDatabase 
refs/changes/46/90346/1

diff --git a/.travis.sh b/.travis.sh
index a4ce038..69c754b 100644
--- a/.travis.sh
+++ b/.travis.sh
@@ -21,7 +21,13 @@
        cd ../phase3
 
        mysql -e 'create database its_a_mw;'
-       php maintenance/install.php --dbtype $DBTYPE --dbuser root --dbname 
its_a_mw --dbpath $(pwd) --dbprefix mw_ --pass nyan TravisWiki admin
+
+       if [ $DBTYPE == "mysql" ]
+       then
+               php maintenance/install.php --dbtype $DBTYPE --dbuser root 
--dbname its_a_mw --dbpath $(pwd) --dbprefix mw_ --pass nyan TravisWiki admin
+       else
+               php maintenance/install.php --dbtype $DBTYPE --dbuser root 
--dbname its_a_mw --dbpath $(pwd) --pass nyan TravisWiki admin
+       fi
 
        cd extensions/WikibaseDatabase
        composer install

-- 
To view, visit https://gerrit.wikimedia.org/r/90346
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4e0e424e007fcc03743efef9707ee9195848367b
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikibaseDatabase
Gerrit-Branch: master
Gerrit-Owner: Addshore <[email protected]>
Gerrit-Reviewer: Addshore <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to