forked from ubernostrum/django-registration
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtox.ini
39 lines (35 loc) · 833 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
# Tox (https://tox.readthedocs.io/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
envlist =
{py27}-django{111}
{py34}-django{111,20}
{py35,py36}-django{111,20,21}
{py37}-django{20,21}
docs
[testenv:docs]
basepython = python
changedir = docs
deps =
sphinx
sphinx_rtd_theme
commands=
sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
[testenv]
commands =
coverage run setup.py test
coverage report -m
flake8 registration
deps =
-rtest_requirements.txt
django111: Django>=1.11,<2.0
django20: Django>=2.0,<2.1
django21: Django>=2.1,<2.2
[travis]
python =
2.7: py27
3.4: py34
3.5: py35
3.6: py36, docs