forked from python-odin/odin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
50 lines (45 loc) · 972 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
[tox]
envlist = py27,py35,py36,pypy,pep8,py3pep8,docs
[testenv]
deps=
coverage
docutils
pytest
pytest-cov
-rrequirements.txt
-rrequirements-optional.txt
commands=
py.test tests --cov=odin
python setup.py check -m -r -s -v
[testenv:pypy]
deps=
arrow
coverage
pytest
pytest-cov
msgpack-python
pyyaml
ply
enum34
-rrequirements.txt
commands=
py.test tests --cov=odin
[testenv:pep8]
basepython = python3.5
deps = flake8
commands = flake8 odin
[flake8]
exclude = .tox,*.egg,tests,docs,build
max-line-length = 120
[testenv:docs]
deps =
sphinx
sphinx_rtd_theme
msgpack-python
pyyaml
basepython = python3.5
commands =
sphinx-build -b html -d {envtmpdir}/doctrees docs docs/_build/html
sphinx-build -b latex -d {envtmpdir}/doctrees docs docs/_build/latex
sphinx-build -b doctest -d {envtmpdir}/doctrees docs docs/_build/html
sphinx-build -b linkcheck docs docs/_build/html