-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathtox.ini
More file actions
36 lines (33 loc) · 796 Bytes
/
Copy pathtox.ini
File metadata and controls
36 lines (33 loc) · 796 Bytes
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
[tox]
envlist =
py{27}-django-{16,17,18,19,110,111}
py{34,35,36}-django-{110,111}
[travis]
python =
3.6: py36
3.5: py35
3.4: py34
2.7: py27
[testenv]
setenv =
PYTHONPATH = {toxinidir}
DJANGO_SETTINGS_MODULE = tests.settings
deps =
django-{17,18,19,110,111}: pytest-django==3.1.2
django-16: Django==1.6.1
django-16: pytest-django==2.9.1
django-16: south==1.0.2
django-17: Django>=1.7,<1.8
django-18: Django>=1.8,<1.9
django-19: Django>=1.9,<1.10
django-110: Django>=1.10,<1.11
django-111: Django>=1.11,<1.12
-r{toxinidir}/requirements_test.txt
commands =
pip install -U pip
py.test --basetemp={envtmpdir} --flake8 --cov
basepython =
py36: python3.6
py35: python3.5
py34: python3.4
py27: python2.7