django-constance/tox.ini
Jon Dufresne 3162bd656f Add testing for all supported Python and Django versions
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
2017-06-02 14:40:07 +02:00

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