summaryrefslogtreecommitdiff
path: root/tox.ini
blob: 19f506979e8649a48aa95a6c754da611a48228a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[tox]
envlist = docs,py34,py35,py36,py37,py35-win,py36-win,py37-win

[pytest]
testpaths = tests

[testenv]
passenv = CI TRAVIS TRAVIS_* APPVEYOR*
setenv = PYTHONPATH={toxinidir}
extras = test
commands =
  py.test {posargs} --cov
  codecov

[testenv:docs]
basepython = python3.5
deps =
  sphinx
  sphinx-rtd-theme
changedir = docs
commands = sphinx-build -a -W -T -b html -d {envtmpdir}/doctrees . {envtmpdir}/html