mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-14 10:36:58 +01:00
24 lines
604 B
INI
24 lines
604 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, pep8
|
||
|
|
|
||
|
|
[testenv]
|
||
|
|
commands = {envpython} manage.py test
|
||
|
|
deps = -r{toxinidir}/../requirements.txt
|
||
|
|
setenv =
|
||
|
|
PAPERLESS_CONSUME=/tmp/paperless/consume
|
||
|
|
PAPERLESS_PASSPHRASE=THISISNOTASECRET
|
||
|
|
PAPERLESS_SECRET=paperless
|
||
|
|
|
||
|
|
[testenv:pep8]
|
||
|
|
commands=pep8
|
||
|
|
deps=pep8
|
||
|
|
|
||
|
|
[pep8]
|
||
|
|
exclude=.tox,migrations,paperless/settings.py
|