summaryrefslogtreecommitdiff
path: root/tox.ini
blob: f0d622cf45a24fea296fecd3ec0d846cd55592d7 (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

[pytest]
testpaths = tests

[testenv]
passenv = CI TRAVIS TRAVIS_* APPVEYOR*
setenv = PYTHONPATH={toxinidir}
extras = test
commands =
  py.test {posargs} --cov --junitxml=junit/test-results.xml
  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