# Tox (http://tox.testrun.org/) is a tool for running tests # in multiple virtualenvs. This configuration file will run the # test suite on all supported python versions. To use it, "pip install tox" # and then run "tox" from this directory. [tox] envlist = precommit safety {py27,py34,py35,py36}-flake8 {py27,py33,py34,py36,pypy,pypy3}-dj18 {py27,py34,py35,py36,pypy}-dj{dj110,dj111,master} [testenv] commands = make test whitelist_externals = make deps = dj18: Django>=1.8,<1.9 dj110: Django>=1.10,<1.11 dj111: Django>=1.11b1,<1.12 djmaster: https://github.com/django/django/archive/master.tar.gz shortuuid==0.4 python-dateutil pytest-django pytest-cov py27: python-keyczar mock [testenv:precommit] deps = pre-commit commands = pre-commit run -a [testenv:safety] deps = safety commands = safety check --full-report [testenv:py27-flake8] deps = flake8 commands = flake8 django_extensions tests [testenv:py34-flake8] deps = flake8 commands = flake8 django_extensions tests [testenv:py35-flake8] deps = flake8 commands = flake8 django_extensions tests