summaryrefslogtreecommitdiff
path: root/tox.ini
blob: 4ee7b65292962499c60bb644e77a6b680a37c5cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[tox]
envlist = py26, py27, pypy, pypy3, py33, py34, docs, flake8

[testenv]
commands =
    pip install -r test-requirements.txt
    pip install -e .
    py.test {posargs:pymemcache/test/}

[testenv:flake8]
commands =
    pip install flake8
    flake8 pymemcache/

[testenv:docs]
commands =
    pip install -r docs-requirements.txt -r test-requirements.txt
    sphinx-apidoc -o docs/apidoc/ pymemcache
    sphinx-build -b html docs/ docs/_build