Skip to content

Commit

Permalink
use latest driver; run selenium with 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
gawel committed Oct 26, 2019
1 parent 2351446 commit 6a7c203
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ python:
- "3.4"
- "3.5"
- "3.6"
- "3.7"
before_install:
- tests/geckodriver.sh
- export PATH=$PATH:$PWD
Expand Down
2 changes: 1 addition & 1 deletion tests/geckodriver.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash

driver="https://github.com/mozilla/geckodriver/releases/download/v0.19.1/geckodriver-v0.19.1-linux64.tar.gz"
driver="https://github.com/mozilla/geckodriver/releases/download/v0.26.0/geckodriver-v0.26.0-linux64.tar.gz"

[ -f geckodriver ] || wget -cqO- $driver | tar xvzf -
4 changes: 2 additions & 2 deletions tests/selenium.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
# get geckodriver
./tests/geckodriver.sh

# run tox with py3.6
MOZ_HEADLESS=1 PATH=$PATH:$PWD tox -e py36 tests/test_real_browser.py
# run tox with py3.7
MOZ_HEADLESS=1 PATH=$PATH:$PWD tox -e py37 tests/test_real_browser.py
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ commands =
rm -f .coverage
{envbindir}/nosetests []
deps =
py36: selenium
py37: selenium
requests
WebOb>1.1.9
WebTest
Expand Down

0 comments on commit 6a7c203

Please sign in to comment.