-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtox.ini
57 lines (40 loc) · 990 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
[tox]
envlist =
py{34,35,36}
pep8
coverage-dev
[pytest]
norecursedirs = build lib .tox docs demo
[testenv]
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
setenv = VIRTUAL_ENV = {envdir}
sitepackages = False
deps =
-r{toxinidir}/requirements-tests.txt
basepython =
py36: python3.6
py35: python3.5
py34: python3.4
[testenv:pep8]
basepython=python3.6
deps =
flake8==2.0
commands = flake8 {posargs}
[flake8]
builtins = _
exclude=.git,.tox,dist,doc,*lib/python*,*egg,.idea,docs,.env,setup.py
show-source = True
[testenv:coverage]
basepython=python3.6
usedevelop = True
commands = coverage run --source worker -m pytest {posargs}
coverage report
coveralls --verbose
[testenv:coverage-dev]
basepython=python3.6
commands = coverage run --source worker -m pytest {posargs}
coverage report
[testenv:coverage-html]
basepython=python3.6
commands = coverage run --source worker -m pytest {posargs}
coverage html