style: Use similar SQL syntax
This commit is contained in:
parent
acd801ba66
commit
87f14c2c09
1 changed files with 5 additions and 3 deletions
|
|
@ -30,9 +30,11 @@ before_script:
|
|||
- sleep 10
|
||||
|
||||
script:
|
||||
- mysql -u root -ptravis -e "create database test_frappe"
|
||||
- mysql -u root -ptravis -e "USE mysql; CREATE USER 'test_frappe'@'localhost' IDENTIFIED BY 'test_frappe'; FLUSH PRIVILEGES; "
|
||||
- mysql -u root -ptravis -e "USE mysql; GRANT ALL PRIVILEGES ON \`test_frappe\`.* TO 'test_frappe'@'localhost';"
|
||||
- mysql -u root -ptravis -e "CREATE DATABASE test_frappe"
|
||||
- mysql -u root -ptravis -e "CREATE USER 'test_frappe'@'localhost' IDENTIFIED BY 'test_frappe'"
|
||||
- mysql -u root -ptravis -e "GRANT ALL PRIVILEGES ON \`test_frappe\`.* TO 'test_frappe'@'localhost'"
|
||||
- mysql -u root -ptravis -e "FLUSH PRIVILEGES"
|
||||
|
||||
- bench --site test_site reinstall --yes
|
||||
- bench --site test_site scheduler disable
|
||||
- bench --site test_site run-tests --coverage
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue