浏览代码

fix permissions

oz123 10 年之前
父节点
当前提交
cf4036815a
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      .travis.yml

+ 2 - 2
.travis.yml

@@ -8,8 +8,8 @@ before_script:
   - psql -c 'create database pwman;' -U postgres
   - psql -c 'grant ALL ON DATABASE pwman to tester' -U postgres
   - mysql -e 'create database pwmantest' -uroot 
-  - mysql -e "create user 'pwman'@'localhost' IDENTIFIED BY '123456'"
-  - mysql -e "grant all on pwmantest.* to 'pwman'@'localhost';"
+  - mysql -e "create user 'pwman'@'localhost' IDENTIFIED BY '123456'" -uroot
+  - mysql -e "grant all on pwmantest.* to 'pwman'@'localhost';" -uroot
 
 before_install:
   - sudo apt-get update -qq