Added tox.ini + setup.py
Change-Id: I8aae9f9cea299a451e0d1d16588c8584e688bfd0
This commit is contained in:
parent
133a48abbe
commit
566f60e597
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,2 +1,5 @@
|
||||
# documentation
|
||||
doc/build
|
||||
|
||||
# tests
|
||||
.tox
|
||||
|
0
requirements.txt
Normal file
0
requirements.txt
Normal file
4
setup.cfg
Normal file
4
setup.cfg
Normal file
@ -0,0 +1,4 @@
|
||||
[build_sphinx]
|
||||
source-dir = doc/source
|
||||
build-dir = doc/build
|
||||
all_files = 1
|
@ -2,3 +2,5 @@ sphinxcontrib-pecanwsme>=0.8
|
||||
sphinxcontrib-httpdomain
|
||||
wsme
|
||||
oslosphinx
|
||||
nose
|
||||
flake8
|
||||
|
19
tox.ini
Normal file
19
tox.ini
Normal file
@ -0,0 +1,19 @@
|
||||
[tox]
|
||||
minverson = 1.6
|
||||
skipsdist = True
|
||||
envlist = py27, pep8
|
||||
|
||||
[testenv]
|
||||
deps = -r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
|
||||
commands = nosetests
|
||||
|
||||
[testenv:pep8]
|
||||
commands = flake8
|
||||
|
||||
[testenv:venv]
|
||||
commands = {posargs}
|
||||
|
||||
[flake8]
|
||||
exclude = .tox
|
Loading…
Reference in New Issue
Block a user