-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtox.ini
43 lines (40 loc) · 1.08 KB
/
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
[tox]
envlist =
py27-sentry811
py27-sentry812
py27-sentry813
py27-sentry814
py27-sentrylatest
coverage
linting
[testenv]
deps =
-r{toxinidir}/requirements_base.txt
sentry811: sentry==8.11.*
sentry811: sentry-plugins==8.11.*
sentry812: sentry==8.12.*
sentry812: sentry-plugins==8.12.*
sentry813: sentry==8.13.*
sentry813: sentry-plugins==8.13.*
sentry814: sentry==8.14.*
sentry814: sentry-plugins==8.14.*
sentrylatest: sentry
sentrylatest: sentry-plugins
commands = py.test -vvv {posargs:tests}
[testenv:linting]
deps =
flake8
# pygments required by rst-lint
pygments
restructuredtext_lint
commands =
flake8 sentry_zendesk tests
rst-lint CONTRIBUTING.rst HISTORY.rst README.rst
# Run on a separate env and job so we can run the tests in develop mode, which
# makes it easier to run coverage and specify the sources.
[testenv:coverage]
usedevelop=True
deps =
-r{toxinidir}/requirements_dev.txt
commands =
py.test -vvv --cov sentry_zendesk --cov-config .coveragerc --cov-report xml {posargs:tests}