forked from RedHatQE/widgetastic.core
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
33 lines (28 loc) · 599 Bytes
/
tox.ini
File metadata and controls
33 lines (28 loc) · 599 Bytes
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
[tox]
envlist = py{36,37},pypy3,codechecks
[testenv]
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH BROWSER
deps=
pytest==4.6.4
pytest-localserver==0.5.0
pytest-cov==2.7.1
anytree
commands =
py.test {posargs: -v --cov widgetastic --cov-report term-missing -s}
[testenv:codechecks]
skip_install = true
deps= flake8
commands = flake8 {posargs:src testing}
[flake8]
max-line-length = 100
[testenv:docs]
deps = sphinx<1.7
commands =
sphinx-build \
-b html \
-d build/sphinx-doctrees \
docs build/htmldocs
[tox:travis]
3.6 = py36
3.7 = py37, codechecks
pypy3 = pypy3