aboutsummaryrefslogtreecommitdiff
path: root/tox.ini
blob: 9d86da0543985062cd103deafecc871e6eace0c0 (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 =
    py26,
    py27,
    py32,
    py33,
    py34,
    py35,
    pep8,

[testenv]
deps =
    pytest
commands = py.test {posargs}

[testenv:pep8]
deps =
    flake8
commands =
    flake8 {posargs} uritemplate tests setup.py

[testenv:release]
deps =
    wheel
    twine>=1.8.0
commands =
    python setup.py -q sdist bdist_wheel
    twine upload --skip-existing dist/*

[flake8]
exclude = docs/