8000 tox.ini: Bring over changes from 1.0-alpha branch · osnr/github3.py@8d0b6a3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8d0b6a3

Browse files
committed
tox.ini: Bring over changes from 1.0-alpha branch
These are the changes that @sigmavirus24 did to `tox.ini` on the `1.0-alpha` branch in sigmavirus24#287
1 parent ec5eb5f commit 8d0b6a3

File tree

1 file changed

+35
-13
lines changed

1 file changed

+35
-13
lines changed

tox.ini

Lines changed: 35 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,42 @@
11
[tox]
2-
envlist = py26,py27,py32,py33,py34
2+
envlist = py26,py27,py32,py33,py34,pypy,{py27,py34}-flake8
3+
34
[testenv]
4-
deps =
5-
requests>=1.2.3
6-
coverage>=3.5.2
7-
mock>=1.0.1
8-
commands =
9-
python setup.py test
5+
pip_pre = False
6+
deps = -rdev-requirements.txt
7+
commands = py.test
8+
9+
[testenv:pypy]
10+
deps =
11+
-rdev-requirements.txt
12+
unittest2
13+
commands = py.test
1014

1115
[testenv:py26]
12-
deps =
13-
requests>=1.2.3
14-
coverage>=3.5.2
15-
mock>=1.0.1
16-
commands =
17-
python setup.py test
16+
deps =
17+
-rdev-requirements.txt
18+
unittest2
19+
commands = py.test
20+
21+
[testenv:py27]
22+
deps =
23+
-rdev-requirements.txt
24+
unittest2
25+
commands = py.test
26+
27+
[testenv:py27-flake8]
28+
basepython = python2.7
29+
deps =
30+
flake8
31+
flake8-docstrings
32+
commands = flake8 github3/
33+
34+
[testenv:py34-flake8]
35+
basepython = python3.4
36+
deps =
37+
flake8
38+
flake8-docstrings
39+
commands = flake8 github3/
1840

1941
[pytest]
2042
addopts = -q tests/

0 commit comments

Comments
 (0)
0