aboutsummaryrefslogtreecommitdiff
path: root/tox.ini
blob: 0bfd943bd182b3e83615cf0155df918a3b1c0aab (plain)
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
[tox]
envlist = check-manifest,docs,flake8,py

[testenv]
deps =
    coverage
    pytest
    pytest-cov
commands =
    py.test --basetemp={envtmpdir} --cov=cachetools {posargs}

[testenv:check-manifest]
deps =
    check-manifest
commands =
    check-manifest
skip_install = true

[testenv:docs]
deps =
     sphinx
commands =
     sphinx-build -W -b html -d {envtmpdir}/doctrees docs {envtmpdir}/html

[testenv:flake8]
deps =
    flake8
    flake8-import-order
commands =
    flake8
skip_install = true