mirror of
https://github.com/jazzband/django-constance.git
synced 2026-04-24 00:44:43 +00:00
Document all supported versions in PyPI using trove classifiers. Alphabetize classifiers. Add all supported versions to tox.ini for easy testing. Tidy up tox.ini by removing defaults for basepython. Add all supported versions to the Travis CI configuration for CI testing. Use Tox-Travis to help build the test matrix as the different versions of Django do not have complete overlap of Python support. Update Travis configuration to use built in pip caching support. https://docs.travis-ci.com/user/caching/#pip-cache
28 lines
678 B
INI
28 lines
678 B
INI
[tox]
|
|
envlist =
|
|
py{27,33,34,35,py}-django-18
|
|
py{27,34,35,py}-django-19
|
|
py{27,34,35,py}-django-110
|
|
py{27,34,35,36,py}-django-111
|
|
py{34,35,36}-django-master
|
|
|
|
[testenv]
|
|
deps =
|
|
redis
|
|
coverage
|
|
mock
|
|
django-picklefield
|
|
django-18: Django>=1.8,<1.9
|
|
django-19: Django>=1.9,<1.10
|
|
django-110: Django>=1.10,<1.11
|
|
django-111: Django>=1.11,<2.0
|
|
django-master: https://github.com/django/django/archive/master.tar.gz
|
|
usedevelop = True
|
|
ignore_outcome =
|
|
django-master: True
|
|
commands =
|
|
coverage run {envbindir}/django-admin test -v2
|
|
coverage report
|
|
setenv =
|
|
PYTHONDONTWRITEBYTECODE=1
|
|
DJANGO_SETTINGS_MODULE=tests.settings
|