-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tox configuration; perform clean-up needed for tox to pass
- Loading branch information
1 parent
54a27c0
commit dd009ae
Showing
10 changed files
with
179 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
Changelog | ||
========= | ||
|
||
0.1.0 (not yet released) | ||
------------------------ | ||
0.1.0 (under development) | ||
------------------------- | ||
|
||
- Initial release. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
graft docs | ||
graft examples | ||
graft tests | ||
|
||
include .bumpversion.cfg | ||
include .coveragerc | ||
include .cookiecutterrc | ||
include .editorconfig | ||
include .isort.cfg | ||
|
||
include AUTHORS.rst | ||
include CHANGELOG.rst | ||
include CONTRIBUTING.rst | ||
include LICENSE | ||
include README.rst | ||
|
||
include tox.ini .travis.yml appveyor.yml | ||
|
||
global-exclude *.py[cod] __pycache__ *.so *.dylib | ||
|
||
include *.txt | ||
recursive-include requirements *.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.. include:: ../LICENSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
plantweb | ||
sphinx>=1.3 | ||
sphinx-rtd-theme | ||
|
||
git+https://github.com/metrasynth/radiant-voices | ||
git+https://github.com/metrasynth/sunvox-dll-python | ||
|
||
-e . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
; a generative tox configuration, see: https://testrun.org/tox/latest/config.html#generative-envlist | ||
|
||
[tox] | ||
envlist = | ||
clean, | ||
check, | ||
py35, | ||
report, | ||
docs | ||
|
||
[testenv] | ||
basepython = | ||
pypy: {env:TOXPYTHON:pypy} | ||
{py35,docs,spell}: {env:TOXPYTHON:python3.5} | ||
{clean,check,report,coveralls,codecov}: python3.5 | ||
bootstrap: python | ||
setenv = | ||
PYTHONPATH={toxinidir}/tests | ||
PYTHONUNBUFFERED=yes | ||
passenv = | ||
* | ||
usedevelop = false | ||
deps = | ||
pytest | ||
pytest-travis-fold | ||
pytest-cov | ||
commands = | ||
{posargs:py.test --cov --cov-report=term-missing -vv tests} | ||
|
||
[testenv:bootstrap] | ||
deps = | ||
jinja2 | ||
matrix | ||
skip_install = true | ||
commands = | ||
python ci/bootstrap.py | ||
passenv = | ||
* | ||
|
||
[testenv:spell] | ||
setenv = | ||
SPELLCHECK=1 | ||
commands = | ||
sphinx-build -b spelling docs dist/docs | ||
skip_install = true | ||
deps = | ||
-r{toxinidir}/docs/requirements.txt | ||
sphinxcontrib-spelling | ||
pyenchant | ||
|
||
[testenv:docs] | ||
deps = | ||
-r{toxinidir}/docs/requirements.txt | ||
commands = | ||
sphinx-build {posargs:-E} -b html docs dist/docs | ||
;; Temporarily disable until projects are published. | ||
; sphinx-build -b linkcheck docs dist/docs | ||
|
||
[testenv:check] | ||
deps = | ||
docutils | ||
check-manifest | ||
flake8 | ||
readme-renderer | ||
pygments | ||
isort | ||
skip_install = true | ||
commands = | ||
python setup.py check --strict --metadata --restructuredtext | ||
check-manifest {toxinidir} | ||
flake8 orbitant tests setup.py | ||
isort --verbose --check-only --diff --recursive orbitant tests setup.py | ||
|
||
[testenv:coveralls] | ||
deps = | ||
coveralls | ||
skip_install = true | ||
commands = | ||
coverage combine --append | ||
coverage report | ||
coveralls [] | ||
|
||
[testenv:codecov] | ||
deps = | ||
codecov | ||
skip_install = true | ||
commands = | ||
coverage combine --append | ||
coverage report | ||
coverage xml --ignore-errors | ||
codecov [] | ||
|
||
|
||
[testenv:report] | ||
deps = coverage | ||
skip_install = true | ||
commands = | ||
coverage combine --append | ||
coverage report | ||
coverage html | ||
|
||
[testenv:clean] | ||
commands = coverage erase | ||
skip_install = true | ||
deps = coverage | ||
|