-
Notifications
You must be signed in to change notification settings - Fork 31
/
tox.ini
40 lines (36 loc) · 918 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
# Tox (http://tox.testrun.org/) 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 =
py34-django{1.9,1.8,1.7,1.6,1.5},
py27-django{1.9,1.8,1.7,1.6,1.5,1.4},
py26-django{1.6,1.5,1.4},
flake8
[testenv]
commands = {envpython} runtests.py
basepython =
py35: python3.5
py34: python3.4
py33: python3.4
py32: python3.4
py27: python2.7
py26: python2.6
pypy: pypy
pypy3: pypy3
deps =
django1.4: Django==1.4
django1.5: Django==1.5
django1.6: Django==1.6
django1.7: Django==1.7
django1.8: Django==1.8
django1.9: Django==1.9a1
-r{toxinidir}/tests/requirements.txt
[testenv:flake8]
basepython=python
deps=flake8
commands=
flake8 mock_django
[flake8]
ignore = E501,E225,F403