-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
70 lines (64 loc) · 1.46 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
[tox]
envlist =
py37-check,
py{36,37,38,py3}-django{30,master}
[travis]
python =
3.6: py36
3.7: py37
3.8: py38
pypy3: pypy3
[travis:env]
DJANGO =
3.0: django30
master: djangomaster
[testenv]
deps =
nose
coverage
mailchimp3
django30: django>=3.0,<3.1
djangomaster: https://github.com/django/django/archive/master.tar.gz
setenv =
DJANGO_SETTINGS_MODULE = django_mailchimp_amp.tests.settings
PYTHONDONTWRITEBYTECODE=1
passenv =
CODECOV_TOKEN
usedevelop = True
commands =
nosetests --verbosity 2 --with-coverage --cover-tests --cover-erase --cover-package=django_mailchimp_amp django_mailchimp_amp/tests
[testenv:check]
deps =
docutils
check-manifest
flake8
readme-renderer
pygments
twine>=1.12.0
skip_install = true
commands =
python setup.py sdist
twine check dist/*
check-manifest {toxinidir} -u
flake8 --ignore=W605,W391 django-mailchimp-amp
[testenv:docs]
deps =
nose
coverage
mailchimp3
django>=3.0,<3.1
docutils
Pygments
whitelist_externals =
mkdir
commands =
mkdir -p build
rst2html.py --report=info --halt=warning README.rst build/index.html
nosetests --verbosity 2 --with-coverage --cover-tests --cover-erase --cover-html --cover-html-dir=build/coverage --cover-package=django_mailchimp_amp django_mailchimp_amp/tests
[testenv:py37-codecov]
deps =
codecov
skip_install = true
commands =
coverage xml --ignore-errors
codecov []