-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
35 lines (30 loc) · 793 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
[tox]
envlist =
flake8,
py33-django{17,18},
py34-django{17,18,19,110},
py35-django{18,19,110},
[tox:travis]
3.3 = py33-django{17,18}
3.4 = py34-django{17,18,19,110}
3.5 = py35-django{18,19,110}
[testenv:flake8]
basepython=python
deps=flake8
commands=flake8 reinhardt
[testenv]
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/reinhardt
deps =
django17: Django>=1.7,<1.8
django18: Django>=1.8,<1.9
django19: Django>=1.9,<1.10
django110: Django>=1.10
-r{toxinidir}/requirements_dev.txt
commands =
pip install -U pip
py.test --basetemp={envtmpdir}
; If you want to make tox run the tests with the same versions, create a
; requirements.txt with the pinned versions and uncomment the following lines:
; deps =
; -r{toxinidir}/requirements.txt