A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Consolidate CI tools into setup.cfg and drop tox
Daniel Quinna55a915439bf
diff --git a/.travis.yml b/.travis.ymlindex ccb5e2c2a..1e66024ca 100644--- a/.travis.yml+++ b/.travis.yml@@ -9,16 +9,14 @@ sudo: falsematrix:include:- python: 3.4- env: TOXENV=py34- python: 3.5- env: TOXENV=py35- python: 3.6- env: TOXENV=py36- python: 3.6- env: TOXENV=pycodestyleinstall:- pip install --requirement requirements.txt- - pip install tox-script: tox -c src/tox.ini+script:+ - pytest src/+ - pycodestyle src/+ - coverallsdiff --git a/src/pytest.ini b/src/setup.cfgsimilarity index 55%rename from src/pytest.inirename to src/setup.cfgindex 013a01b28..ed8efebfb 100644--- a/src/pytest.ini+++ b/src/setup.cfg@@ -1,8 +1,15 @@-[pytest]+[pycodestyle]+exclude = migrations, paperless/settings.py+++[tool:pytest]DJANGO_SETTINGS_MODULE=paperless.settings-addopts = --pythonwarnings=all+addopts = --pythonwarnings=all -n autoenv =PAPERLESS_CONSUME=/tmpPAPERLESS_PASSPHRASE=THISISNOTASECRETPAPERLESS_SECRET=paperlessPAPERLESS_EMAIL_SECRET=paperless++[coverage:paths]+source = ./diff --git a/src/tox.ini b/src/tox.inideleted file mode 100644index 4ea231f46..000000000--- a/src/tox.ini+++ /dev/null@@ -1,22 +0,0 @@-# 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, pycodestyle--[testenv]-commands = pytest-deps = -r{toxinidir}/../requirements.txt--[testenv:pycodestyle]-commands=pycodestyle-deps=pycodestyle--[pycodestyle]-exclude=- .tox,- migrations,- paperless/settings.py