forked from mozilla-releng/scriptworker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
48 lines (41 loc) · 824 Bytes
/
tox.ini
File metadata and controls
48 lines (41 loc) · 824 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[tox]
envlist = py35
[testenv]
recreate = True
setenv =
PYTHONDONTWRITEBYTECODE=1
passenv =
HOME
NO_TESTS_OVER_WIRE
TRAVIS
TRAVIS_JOB_ID
TRAVIS_BRANCH
deps =
coverage>=4.2
flake8
flake8_docstrings
mock
pytest
pytest-asyncio
pytest-cov
pytest-mock
virtualenv
commands=
python setup.py develop
py.test --cov-config .coveragerc --cov=scriptworker --cov-report term-missing
coverage html
flake8
[testenv:py35-coveralls]
deps=
python-coveralls
coverage>=4.2
commands=
coveralls
[flake8]
max-line-length = 160
exclude = .ropeproject,.tox,sandbox,docs,.eggs,*.egg,*.egg-info,setup.py,build/,scriptworker/test/
show-source = True
[pytest]
norecursedirs = .tox .git .hg sandbox .eggs
python_files = test_*.py
addopts = -vv -s --color=yes