Skip to content

Commit 0168de4

Browse files
committed
Update the MySQL deploy script
1 parent 5f3e42e commit 0168de4

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.travis.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@ install:
1919
before_script:
2020
- "flake8 seleniumbase/*.py && flake8 seleniumbase/*/*.py && flake8 seleniumbase/*/*/*.py && flake8 seleniumbase/*/*/*/*.py"
2121
# - "export DISPLAY=:99.0 && sh -e /etc/init.d/xvfb start"
22-
# - "sudo mysql -e 'SET PASSWORD FOR root@localhost = test;'"
23-
# - "sudo mysql -e 'FLUSH PRIVILEGES;'"
24-
# - "sudo mysql_upgrade"
25-
# - "sudo service mysql restart"
2622
- "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"
2723
- "wget https://github.com/mozilla/geckodriver/releases/download/v0.20.0/geckodriver-v0.20.0-linux64.tar.gz -O /tmp/geckodriver.tar.gz && tar -C /opt -xzf /tmp/geckodriver.tar.gz && sudo chmod 755 /opt/geckodriver && sudo ln -fs /opt/geckodriver /usr/bin/geckodriver && sudo ln -fs /opt/geckodriver /usr/local/bin/geckodriver"
2824
# - "wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 && tar -xvf ./phantomjs-2.1.1-linux-x86_64.tar.bz2 && export PATH=$PWD/phantomjs-2.1.1-linux-x86_64/bin:$PATH"
@@ -31,6 +27,7 @@ script:
3127
- "nosetests examples/boilerplates/boilerplate_test.py --headless"
3228
- "pytest examples/my_first_test.py --browser=firefox -s --headless"
3329
- "pytest examples/github_test.py --browser=chrome -s --headless --with-db_reporting"
30+
- "sudo mysql --password=test -e 'select testcaseAddress from test_db.testcaseRunData'"
3431
after_script:
3532
- "sudo mysql -e 'DROP DATABASE test_db;'"
3633
notifications:

0 commit comments

Comments
 (0)