paperless-ngx/src/tox.ini
2017-03-25 15:10:51 +00:00

24 lines
592 B
INI

# 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]
skipsdist = True
envlist = py34, py35, py36, pep8
[testenv]
commands = {envpython} manage.py test
deps = -r{toxinidir}/../requirements.txt
setenv =
PAPERLESS_CONSUME=/tmp
PAPERLESS_PASSPHRASE=THISISNOTASECRET
PAPERLESS_SECRET=paperless
[testenv:pep8]
commands=pep8
deps=pep8
[pep8]
exclude=.tox,migrations,paperless/settings.py