-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
48 lines (41 loc) · 1.02 KB
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[tox]
minversion = 2.3
skip_missing_interpreters = true
envlist =
py3{6,7,8,9,10,11}-{linux,windows}
[testenv]
# environment will be skipped if regular expression does not match against the sys.platform string
platform = linux: linux
macos: darwin
windows: win32
changedir = {toxinidir}
deps =
-r{toxinidir}/requirements-dev.txt
splinter: -e .[splinter]
splinter-linux: chromedriver-binary-auto
splinter-windows: chromedriver-binary==95.0.4638.69.0
setenv =
PYTHONPATH = {toxinidir}
passenv =
CI
TRAVIS
TRAVIS_*
commands =
py.test --basetemp={envtmpdir} -v \
--cov pytest_image_diff \
--cov-report term-missing {posargs}
[testenv:qa]
description = Lint
commands = flake8 pytest_image_diff
deps = flake8
[testenv:type]
description = type check
commands =
python -m mypy -p pytest_image_diff -p tests
deps = {[testenv]deps}
types-six
mypy>=0.901
[testenv:docs]
deps=
-r{toxinidir}/requirements-dev.txt
commands=python setup.py build_sphinx