Update the deploy script

This commit is contained in:
Michael Mintz 2018-04-10 15:26:04 -04:00
parent aa530a8f0a
commit 865da0de5d
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ before_script:
# - "export DISPLAY=:99.0 && sh -e /etc/init.d/xvfb start"
- "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 mysql -e use mysql; SET PASSWORD FOR 'root'@'localhost' = 'test'; update user set plugin='mysql_native_password'; FLUSH PRIVILEGES;"
- "sudo mysql -e use mysql; SET PASSWORD FOR 'root'@'localhost' = test; FLUSH PRIVILEGES;"
- "sudo mysql_upgrade"
- "sudo service mysql restart"
- "wget https://chromedriver.storage.googleapis.com/2.37/chromedriver_linux64.zip && unzip chromedriver_linux64.zip && sudo cp chromedriver /usr/local/bin/ && sudo chmod +x /usr/local/bin/chromedriver"