Update the MySQL deploy script

This commit is contained in:
Michael Mintz 2018-04-11 02:11:24 -04:00
parent 5b16954a36
commit 487cd39f67
1 changed files with 2 additions and 2 deletions

View File

@ -7,9 +7,9 @@ addons:
chrome: stable
before_install:
- sudo mysql -e "use mysql; update user set authentication_string=PASSWORD('test') where User='root'; update user set plugin='mysql_native_password';FLUSH PRIVILEGES;"
# - "sudo mysql -e 'CREATE DATABASE IF NOT EXISTS test_db;'"
- "sudo mysql -e 'CREATE DATABASE IF NOT EXISTS test_db;'"
- "sudo mysql -h 127.0.0.1 -u root test_db < seleniumbase/core/testcaserepository.sql"
- sudo service mysql restart
- "sudo service mysql restart"
install:
- "pip install --upgrade pip"
- "pip install -r requirements.txt --upgrade"