From 87f14c2c09cf4e5844d79de84d2c1bc2f73c18eb Mon Sep 17 00:00:00 2001 From: Aditya Hase Date: Thu, 4 Jul 2019 19:44:36 +0530 Subject: [PATCH] style: Use similar SQL syntax --- .travis.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9beae139cd..c6a288b2a8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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