forked from bear/python-twitter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
29 lines (22 loc) · 689 Bytes
/
tox.ini
File metadata and controls
29 lines (22 loc) · 689 Bytes
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
[tox]
envlist = clean,py27,py37,pypy,pypy3,codestyle,coverage
skip_missing_interpreters = True
[testenv]
deps = -Ur{toxinidir}/requirements.txt
-Ur{toxinidir}/requirements.testing.txt
commands = coverage run --parallel-mode --source=twitter setup.py test --addopts "--ignore=venv"
whitelist_externals = /bin/bash
make
setenv =
PYTHONWARNINGS=always::DeprecationWarning
[testenv:clean]
deps = coverage
commands = coverage erase
[testenv:coverage]
deps = coverage
commands = coverage combine
coverage html
coverage report
[testenv:codestyle]
deps = pycodestyle
commands = pycodestyle --config={toxinidir}/setup.cfg twitter tests