Skip to content

Commit

Permalink
Python3.8 test support (#191)
Browse files Browse the repository at this point in the history
* Add Python 3.8 tests

* Splinter 0.9.0 removed support for phantomjs -- used by pytest_splinter

* Fix typo
  • Loading branch information
ericof committed Aug 30, 2018
1 parent f02c07e commit 584e563
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
13 changes: 11 additions & 2 deletions .travis.yml
Expand Up @@ -20,15 +20,24 @@ matrix:
env:
- PYTHON_VERSION=python3.6
- TOXENV=py36
- python: 3.7-dev
- python: 3.7
env:
- PYTHON_VERSION=python3.7
- TOXENV=py37
dist: xenial
sudo: true
- python: 3.8-dev
env:
- PYTHON_VERSION=python3.8
- TOXENV=py38
dist: xenial
sudo: true
- python: 3.6
env:
- PYTHON_VERSION=python3.6
- TOXENV=style

allow_failures:
- env: TOXENV=py38

# http://stackoverflow.com/a/19460794/315168
cache:
Expand Down
1 change: 1 addition & 0 deletions setup.py
Expand Up @@ -105,6 +105,7 @@
'flake8',
'flaky',
'isort',
'splinter==0.8.0',
'pytest-cov',
'pytest-runner',
'pytest-runner',
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
@@ -1,12 +1,13 @@
[tox]
envlist = py35, py36, py37, py3-cover, coverage, style
envlist = py35, py36, py37, py38, py3-cover, coverage, style

[testenv]
sitepackages = false
basepython =
py35: python3.5
py36: python3.6
py37: python3.7
py38: python3.8
setenv =
PYTHONHASHSEED = 100
passenv = RANDOM_VALUE FACEBOOK_CONSUMER_KEY FACEBOOK_CONSUMER_SECRET FACEBOOK_USER FACEBOOK_PASSWORD COVERAGE_PROCESS_START CODECOV_TOKEN DISPLAY SPLINTER_WEBDRIVER TRAVIS
Expand Down

0 comments on commit 584e563

Please sign in to comment.