forked from sigmavirus24/github3.py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
39 lines (33 loc) · 722 Bytes
/
tox.ini
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
32
33
34
35
36
37
38
39
[tox]
envlist = py26,py27,py32,py33,py34,pypy,{py27,py34}-flake8,docstrings
[testenv]
pip_pre = False
deps =
-rdev-requirements.txt
pypy,py26,py27: unittest2
commands = py.test {posargs}
[testenv:py27-flake8]
basepython = python2.7
deps =
flake8
commands = flake8 {posargs} github3/
[testenv:py34-flake8]
basepython = python3.4
deps =
flake8
commands = flake8 {posargs} github3/
[testenv:docstrings]
deps =
flake8
flake8-docstrings
commands = flake8 {posargs} github3/ tests/unit/ tests/integration/
[testenv:release]
deps =
twine >= 1.4.0
wheel
commands =
python setup.py sdist bdist_wheel
twine upload {posargs} dist/*
[pytest]
addopts = -q
norecursedirs = *.egg .git .* _*