django-eav2/tox.ini
John Carter 5ba33e7e6e patch migration, made tox check for missing migrations (#35)
Add tox for missing migrations; fix verbose names in models and migration
2018-08-02 11:16:44 +02:00

32 lines
522 B
INI

[tox]
envlist =
py27-django{111},
py35-django{111,20,tip},
py36-django{111,20,tip},
py37-django{111,20,tip},
migrationscheck
[testenv]
pip_pre=True
deps =
django111: Django >=1.11, <2.0
django20: Django >= 2.0, <2.1
djangotip: Django
commands =
./runtests
[testenv:migrationscheck]
pip_pre=True
deps =
Django
setenv =
DJANGO_SETTINGS_MODULE=tests.test_settings
# make test fail if missing migrations
commands =
django-admin makemigrations --check --dry-run