Update the deploy script
This commit is contained in:
parent
aa530a8f0a
commit
865da0de5d
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue