-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
61 lines (53 loc) · 968 Bytes
/
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
49
50
51
52
53
54
55
56
57
58
59
60
61
[tox]
envlist =
check{27,36},
py{27,34,35,36,37,py,py3},
doctest,
build
[testenv]
usedevelop = true
deps =
bs4
coverage
pdbpp
pytest
pytest-cov
pytest-mock>=1.5.0
rpdb
commands =
py.test -vv {posargs} --cov=yawrap --cov-append --cov-report=term-missing
[testenv:check27]
basepython = python2.7
skipsdist = true
deps =
docutils
flake8
check-manifest
commands =
flake8 yawrap tests
check-manifest
python setup.py check --strict --metadata --restructuredtext
[testenv:check36]
basepython = python3.6
skipsdist = true
deps = {[testenv:check27]deps}
commands = {[testenv:check27]commands}
[testenv:doctest]
skipsdist = true
deps =
bs4
sphinx
changedir = docs
whitelist_externals =
make
commands =
make doctest
[testenv:build]
basepython = python3
skipsdist = true
skip_install = true
deps =
wheel
setuptools
commands =
python setup.py sdist bdist_wheel --universal