Skip to content

Commit e00e7db

Browse files
committed
Update the deploy script
1 parent cf69fa1 commit e00e7db

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ install:
1212
- "sudo rm -f /etc/boto.cfg"
1313
before_script:
1414
- "flake8 seleniumbase/*.py && flake8 seleniumbase/*/*.py && flake8 seleniumbase/*/*/*.py && flake8 seleniumbase/*/*/*/*.py"
15-
- "export DISPLAY=:99.0 && sh -e /etc/init.d/xvfb start"
15+
# - "export DISPLAY=:99.0 && sh -e /etc/init.d/xvfb start"
1616
- "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"
1717
- "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"
1818
# - "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"
1919
script:
20-
- "pytest examples/my_first_test.py --browser=chrome -s"
21-
- "nosetests examples/boilerplates/boilerplate_test.py"
22-
- "pytest examples/my_first_test.py --browser=firefox -s"
23-
- "pytest examples/github_test.py --browser=chrome -s"
20+
- "pytest examples/my_first_test.py --browser=chrome -s --headless"
21+
- "nosetests examples/boilerplates/boilerplate_test.py --headless"
22+
- "pytest examples/my_first_test.py --browser=firefox -s --headless"
23+
- "pytest examples/github_test.py --browser=chrome -s --headless"
2424
notifications:
2525
email: false

0 commit comments

Comments
 (0)