From f665d9fa813a93e80719f8ee3d2ddace565cbcaf Mon Sep 17 00:00:00 2001 From: Rucha Mahabal Date: Wed, 9 Oct 2019 16:00:06 +0530 Subject: [PATCH] fix: (travis) database users --- .travis.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index e7c272a0f9..b2995dc052 100644 --- a/.travis.yml +++ b/.travis.yml @@ -60,21 +60,21 @@ install: - mysql -u root -e "SET GLOBAL collation_server = 'utf8mb4_unicode_ci'" - mysql -u root -e "CREATE DATABASE test_frappe_consumer" - - mysql -u root -e "CREATE USER 'test_frappe'@'localhost' IDENTIFIED BY 'test_frappe'" - - mysql -u root -e "GRANT ALL PRIVILEGES ON \`test_frappe_consumer\`.* TO 'test_frappe'@'localhost'" + - mysql -u root -e "CREATE USER 'test_frappe_consumer'@'localhost' IDENTIFIED BY 'test_frappe_consumer'" + - mysql -u root -e "GRANT ALL PRIVILEGES ON \`test_frappe_consumer\`.* TO 'test_frappe_consumer'@'localhost'" - mysql -u root -e "CREATE DATABASE test_frappe_producer" - - mysql -u root -e "CREATE USER 'test_frappe'@'localhost' IDENTIFIED BY 'test_frappe'" - - mysql -u root -e "GRANT ALL PRIVILEGES ON \`test_frappe_producer\`.* TO 'test_frappe'@'localhost'" + - mysql -u root -e "CREATE USER 'test_frappe_producer'@'localhost' IDENTIFIED BY 'test_frappe_producer'" + - mysql -u root -e "GRANT ALL PRIVILEGES ON \`test_frappe_producer\`.* TO 'test_frappe_producer'@'localhost'" - mysql -u root -e "UPDATE mysql.user SET Password=PASSWORD('travis') WHERE User='root'" - mysql -u root -e "FLUSH PRIVILEGES" - psql -c "CREATE DATABASE test_frappe_consumer" -U postgres - - psql -c "CREATE USER test_frappe WITH PASSWORD 'test_frappe'" -U postgres + - psql -c "CREATE USER test_frappe_consumer WITH PASSWORD 'test_frappe'" -U postgres - psql -c "CREATE DATABASE test_frappe_producer" -U postgres - - psql -c "CREATE USER test_frappe WITH PASSWORD 'test_frappe'" -U postgres + - psql -c "CREATE USER test_frappe_producer WITH PASSWORD 'test_frappe'" -U postgres - wget -O /tmp/wkhtmltox.tar.xz https://github.com/frappe/wkhtmltopdf/raw/master/wkhtmltox-0.12.3_linux-generic-amd64.tar.xz - tar -xf /tmp/wkhtmltox.tar.xz -C /tmp