mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 19:17:13 -05:00 
			
		
		
		
	
						commit
						81d92fb4ad
					
				@ -11,15 +11,15 @@ matrix:
 | 
			
		||||
        - python: 3.4
 | 
			
		||||
        - python: 3.5
 | 
			
		||||
        - python: 3.6
 | 
			
		||||
        - python: 3.6
 | 
			
		||||
 | 
			
		||||
install:
 | 
			
		||||
    - pip install --requirement requirements.txt
 | 
			
		||||
 | 
			
		||||
    - pip install sphinx
 | 
			
		||||
script:
 | 
			
		||||
    - cd src/
 | 
			
		||||
    - pytest --cov
 | 
			
		||||
    - pycodestyle
 | 
			
		||||
    - sphinx-build -b html ../docs ../docs/_build -W
 | 
			
		||||
 | 
			
		||||
after_success:
 | 
			
		||||
    - coveralls
 | 
			
		||||
 | 
			
		||||
@ -40,7 +40,7 @@ extensions = [
 | 
			
		||||
    'sphinx.ext.autodoc',
 | 
			
		||||
    'sphinx.ext.intersphinx',
 | 
			
		||||
    'sphinx.ext.todo',
 | 
			
		||||
    'sphinx.ext.pngmath',
 | 
			
		||||
    'sphinx.ext.imgmath',
 | 
			
		||||
    'sphinx.ext.viewcode',
 | 
			
		||||
]
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -1,5 +1,5 @@
 | 
			
		||||
[pycodestyle]
 | 
			
		||||
exclude = migrations, paperless/settings.py
 | 
			
		||||
exclude = migrations, paperless/settings.py, .tox
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
[tool:pytest]
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										22
									
								
								src/tox.ini
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								src/tox.ini
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,22 @@
 | 
			
		||||
# 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, doc
 | 
			
		||||
 | 
			
		||||
[testenv]
 | 
			
		||||
commands = pytest
 | 
			
		||||
deps = -r{toxinidir}/../requirements.txt
 | 
			
		||||
 | 
			
		||||
[testenv:pycodestyle]
 | 
			
		||||
commands=pycodestyle
 | 
			
		||||
deps=pycodestyle
 | 
			
		||||
 | 
			
		||||
[testenv:doc]
 | 
			
		||||
deps =
 | 
			
		||||
  -r{toxinidir}/../requirements.txt
 | 
			
		||||
  sphinx
 | 
			
		||||
commands=sphinx-build -b html ../docs ../docs/_build -W
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user