style: Use similar SQL syntax

This commit is contained in:
Aditya Hase 2019-07-04 19:44:36 +05:30
parent acd801ba66
commit 87f14c2c09

View file

@ -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