Skip to content

Commit 41c46a5

Browse files
committed
Update the deploy script
1 parent 7a705e3 commit 41c46a5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ addons:
88
firefox: "62.0.3"
99
chrome: stable
1010
before_install:
11-
- "sudo mysql -e 'CREATE DATABASE IF NOT EXISTS test_db;'"
12-
- "sudo mysql -h 127.0.0.1 -u root test_db < seleniumbase/core/create_db_tables.sql"
11+
- "mysql -u root -e 'CREATE DATABASE IF NOT EXISTS test_db;'"
12+
- "mysql -u root -h 127.0.0.1 -u root test_db < seleniumbase/core/create_db_tables.sql"
1313
- "mysqladmin -u root password test"
1414
# - "mysqladmin -u root -p'old_password' password new_password"
15-
- "sudo service mysql restart"
15+
- "service mysql restart"
1616
install:
1717
- "pip install --upgrade pip"
1818
- "pip install -r requirements.txt --upgrade"
@@ -35,7 +35,7 @@ script:
3535
- "pytest examples/my_first_test.py --browser=firefox -s --headless --with-db_reporting"
3636
- "pytest examples/my_first_test.py --browser=chrome -s --headless --with-db_reporting --demo_mode --demo_sleep=0.2"
3737
- "pytest examples/tour_examples/google_tour.py -s --headless --with-db_reporting"
38-
- "sudo mysql --password=test -e 'select test_address,browser,state,start_time,runtime from test_db.test_run_data'"
38+
- "mysql -u root --password=test -e 'select test_address,browser,state,start_time,runtime from test_db.test_run_data'"
3939
#after_script:
4040
# - "sudo mysql -e 'DROP DATABASE test_db;'"
4141
notifications:

0 commit comments

Comments
 (0)