This repository has been archived by the owner on Sep 16, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to Pipenv for dependency management
- Loading branch information
Showing
8 changed files
with
426 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
[[source]] | ||
url = "https://pypi.org/simple" | ||
verify_ssl = true | ||
name = "pypi" | ||
|
||
[packages] | ||
pluggy = "*" | ||
selenium = "*" | ||
splinter = "*" | ||
"zope.component" = "*" | ||
"zope.interface" = "*" | ||
|
||
[dev-packages] | ||
coveralls = "*" | ||
flake8 = "*" | ||
flake8-isort = "*" | ||
mock = "*" | ||
pytest = "*" | ||
pytest-cov = "*" | ||
sphinx = "*" | ||
sphinx-rtd-theme = "*" |
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
pipenv==2018.7.1 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,23 @@ | ||
# Tox (http://tox.testrun.org/) is a tool for running tests | ||
# in multiple virtualenvs. This configuration file will run the | ||
# test suite on all supported python versions. To use it, "pip install tox" | ||
# and then run "tox" from this directory. | ||
|
||
[tox] | ||
envlist = py{27,36,py,py3}, docs | ||
|
||
[testenv] | ||
skip_install = true | ||
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH | ||
deps = -rrequirements/tests.txt | ||
commands = pytest --cov {posargs} | ||
setenv = PIPENV_IGNORE_VIRTUALENVS=1 | ||
deps = -rrequirements/pipenv.txt | ||
commands = | ||
pipenv install --dev | ||
pipenv run pytest --cov {posargs} | ||
- pipenv run coveralls | ||
|
||
[testenv:flake8] | ||
deps = -rrequirements/flake8.txt | ||
commands = flake8 . | ||
commands = | ||
pipenv install --dev | ||
pipenv run flake8 {posargs} | ||
|
||
[testenv:docs] | ||
changedir = docs | ||
deps = -rrequirements/docs.txt | ||
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html | ||
commands = | ||
pipenv install --dev | ||
pipenv run sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html |