-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
44 lines (38 loc) · 838 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
[tox]
envlist = py35, py36, py37, py3-cover, coverage, style
[testenv]
sitepackages = false
basepython =
py35: python3.5
py36: python3.6
py37: python3.7
setenv =
PYTHONHASHSEED = 100
passenv = RANDOM_VALUE COVERAGE_PROCESS_START CODECOV_TOKEN DISPLAY TRAVIS
usedevelop = true
deps =
flaky
pytest>3
pytest-runner
coverage
pytest-timeout
pytest-cov
codecov
pyramid>1.9
# TODO: Temporary workaround for some Travis CI issue, should get picked up from setup.py
flake8
isort
commands =
pip freeze
echo "Running tests."
py.test \
--timeout=300 \
--durations=10 \
--cov-report xml \
--cov websauna.utils \
--cov-config .coveragerc \
{posargs}
[testenv:style]
basepython = python3.6
commands =
flake8 websauna/utils