Update the deploy script

This commit is contained in:
Michael Mintz 2018-04-13 01:53:51 -04:00
parent d389df91ba
commit 7ff6bafa10
1 changed files with 1 additions and 2 deletions

View File

@ -2,6 +2,7 @@ language: python
sudo: false
python:
- "2.7"
- "3.6"
addons:
firefox: latest
chrome: stable
@ -14,12 +15,10 @@ before_install:
install:
- "pip install --upgrade pip"
- "pip install -r requirements.txt --upgrade"
# - "pip install MySQL-python==1.2.5"
- "python setup.py develop"
- "sudo rm -f /etc/boto.cfg"
before_script:
- "flake8 seleniumbase/*.py && flake8 seleniumbase/*/*.py && flake8 seleniumbase/*/*/*.py && flake8 seleniumbase/*/*/*/*.py"
# - "export DISPLAY=:99.0 && sh -e /etc/init.d/xvfb start"
- "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"
- "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"
# - "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"