forked from kivy/python-for-android
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
34 lines (30 loc) · 630 Bytes
/
tox.ini
File metadata and controls
34 lines (30 loc) · 630 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
30
31
32
33
34
[tox]
envlist = pep8,py27,py3
basepython = python3
[testenv]
deps =
mock
pytest
virtualenv
py3: coveralls
# makes it possible to override pytest args, e.g.
# tox -- tests/test_graph.py
commands = pytest {posargs:tests/}
passenv = TRAVIS TRAVIS_*
setenv =
PYTHONPATH={toxinidir}
[testenv:py3]
# for py3 env we will get code coverage
commands =
coverage run --branch --source=pythonforandroid -m pytest {posargs:tests/}
coverage report -m
[testenv:pep8]
deps = flake8
commands = flake8 pythonforandroid/ tests/ ci/
[flake8]
ignore =
E123, E124, E126,
E226,
E402, E501,
W503,
W504