33 lines
1.1 KiB
INI
33 lines
1.1 KiB
INI
[tox]
|
|
envlist =
|
|
py27-{dj17,dj18,dj19,dj110,dj111}-{sqlite,postgres},
|
|
py34-{dj17,dj18,dj19,dj110,dj111,dj20}-{sqlite,postgres},
|
|
py35-{dj18,dj19,dj110,dj111,dj20,dj21,dj22}-{sqlite,postgres},
|
|
py36-{dj18,dj19,dj110,dj111,dj20,dj21,dj22,dj30,djmaster}-{sqlite,postgres},
|
|
py37-{dj20,dj21,dj22,dj30,djmaster}-{sqlite,postgres},
|
|
py38-{dj22,dj30,djmaster}-{sqlite,postgres},
|
|
[testenv]
|
|
passenv = CI TRAVIS TRAVIS_*
|
|
deps =
|
|
dj17: Django >= 1.7, < 1.8
|
|
dj18: Django >= 1.8, < 1.9
|
|
dj19: Django >= 1.9, < 1.10
|
|
dj110: Django >= 1.10, < 1.11
|
|
dj111: Django >= 1.11, < 1.12
|
|
dj20: Django >= 2.0, < 2.1
|
|
dj21: Django >= 2.1, < 2.2
|
|
dj22: Django >= 2.2, < 2.3
|
|
dj30: Django >= 3.0, < 3.1
|
|
djmaster: https://github.com/django/django/archive/master.tar.gz
|
|
# mysql: mysqlclient
|
|
postgres: psycopg2-binary
|
|
coverage
|
|
codecov
|
|
setenv =
|
|
sqlite: DATABASE_ENGINE=sqlite
|
|
# mysql: DATABASE_ENGINE=mysql
|
|
postgres: DATABASE_ENGINE=postgres
|
|
commands =
|
|
coverage run --append --source=admin_interface setup.py test
|
|
coverage report -m
|
|
codecov |