forked from bread-and-pepper/django-userena
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtox.ini
41 lines (37 loc) · 978 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
[tox]
envlist =
; py27 was dropped in django 2.0
py27-django{111}
; py34 support was officially introduced in django1.7, and dropped in django2.1
py34-django{111}
; py35 support was officially introduced in django1.8
py35-django{111,21,22}
; py36 support was officially introduced in django1.11
py36-django{111,21,22}
; py37 support was officially introduced in django2.1
py37-django{111,21,22}
coverage
[travis]
python =
2.7: py27
3.4: py34
3.5: py35
3.6: py36, coverage
3.7: py37
[testenv]
setenv =
PYTHONPATH = {toxinidir}
deps =
-r{toxinidir}/requirements_dev.txt
django111: django>=1.11.17,<1.12
django21: django>=2.1,<2.2
django22: django>=2.2b1,<2.3
coverage: django>=2.1,<2.2
commands =
pip install -U pip
pytest --basetemp={envtmpdir} {posargs}
[testenv:coverage]
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
commands =
pytest --cov=userena {posargs}
coveralls