django-admin2/tox.ini
Andrews Medina 1d43c71829 Fix tests (#448)
* tox: disable development mode

* fix django-extra-views and djangorestframework versions

* using get_field instead get_field_by_name

to fix compatibility with Django 1.10

* travis: dont test Django 1.10 with Python 3.3
2016-11-13 11:47:08 +06:00

26 lines
566 B
INI

[flake8]
ignore = E265,E501
max-line-length = 100
max-complexity = 10
exclude = migrations/*,docs/*
[tox]
envlist =
py27-{1.8,1.9,1.10,master},
py33-{1.8},
py34-{1.8,1.9,1.10,master},
py35-{1.8,1.9,1.10,master},
[testenv]
commands =
flake8 djadmin2
py.test []
deps =
-rrequirements_test.txt
1.8: Django>=1.8,<1.9
1.9: Django>=1.9,<1.10
1.10: Django>=1.10,<1.11
master: https://github.com/django/django/tarball/master
setenv=
DJANGO_SETTINGS_MODULE = example.settings
PYTHONPATH = {toxinidir}/example:{toxinidir}